diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-29 22:13:16 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-04-29 22:18:20 +0300 |
commit | da6f4204b7b4887d519f66d586b2782fb6beff2e (patch) | |
tree | c19a99e64ff9af01133c054650922d172ffc7c47 /indra/llwindow/llwindowwin32.cpp | |
parent | 904b16a0a7fddb1cd36de8a33d5475df93d9cabe (diff) |
SL-17124 make sure window thread wakes up to proces 'quit' message
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index ddf6658ece..1f3823509c 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -907,6 +907,10 @@ void LLWindowWin32::close() } }); + // Window thread might be waiting for a getMessage(), give it + // a push to enshure it will process destroy_window_handler + kickWindowThread(); + // Even though the above lambda might not yet have run, we've already // bound mWindowHandle into it by value, which should suffice for the // operations we're asking. That's the last time WE should touch it. |