summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-29 22:13:16 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-29 22:18:20 +0300
commitda6f4204b7b4887d519f66d586b2782fb6beff2e (patch)
treec19a99e64ff9af01133c054650922d172ffc7c47 /indra/llwindow/llwindowwin32.cpp
parent904b16a0a7fddb1cd36de8a33d5475df93d9cabe (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.cpp4
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.