ecere/gui/Window: Fixed deadlock on reload dialog boxes
authorJerome St-Louis <jerome@ecere.com>
Thu, 8 May 2014 15:25:22 +0000 (11:25 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 8 May 2014 15:48:21 +0000 (11:48 -0400)
commitc736be8d530c454fb02ee8b40ec25e6151a9a634
treec556c8b09aba837bc166235db9fca884ab9b10fc
parent4d1afa69bfd3fe3c23522759074122883ef1a303
ecere/gui/Window: Fixed deadlock on reload dialog boxes
- Unlocking GuiApplication prior to deleting a file monitor
- Also avoiding to instantiate FileMonitor for non-document windows, which will also
 avoid the problem that was caused by tooltips being deleted from the IDE's AdjustDebugMenus()
 from within GdbThreadMain() with the guiApp locked, while at the same time the main thread
 had the file monitors mutex locked, waiting for the GuiApp from within a Modal()
ecere/src/gui/Window.ec