DarkRadiant: master 5308213b

Author Committer Branch Timestamp Parent
greebo greebo master 01.05.2018 06:39 master e53ed198
Changeset Fix a rare crash when shutting down the application roughly one second after the main window appears.
It's possible that the populator thread is posting a population-finished on its last breath, in the middle of application shutdown. The main window and its children already have been destroyed, but the event handler itself is still alive. Canceling and waiting for the thread is not doing the trick since it has already posted the event, so we need to make sure to catch this case in the handler.
mod - radiant/ui/mediabrowser/MediaBrowser.cpp Diff File