samples/games/scrabble: Fixed hang on exit
authorJerome St-Louis <jerome@ecere.com>
Thu, 20 Feb 2014 08:07:14 +0000 (03:07 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 20 Feb 2014 08:07:14 +0000 (03:07 -0500)
samples/games/scrabble/scrabble.ec

index 6864c86..864c384 100644 (file)
@@ -1009,7 +1009,9 @@ class ScrabbleApp : GuiApplication
 
    void Terminate()
    {
+      Unlock();
       scrabbleService.Stop();
+      Lock();
       delete scrabbleGame;
    }
 }