Skip to content
Snippets Groups Projects
Commit da6f4204 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-17124 make sure window thread wakes up to proces 'quit' message

parent 904b16a0
No related branches found
No related tags found
1 merge request!83Merge Linden 6.6.7
...@@ -907,6 +907,10 @@ void LLWindowWin32::close() ...@@ -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 // Even though the above lambda might not yet have run, we've already
// bound mWindowHandle into it by value, which should suffice for the // bound mWindowHandle into it by value, which should suffice for the
// operations we're asking. That's the last time WE should touch it. // operations we're asking. That's the last time WE should touch it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment