samples/games/chess: Fixed exit following game still running confirmation
[sdk] / samples / games / chess / src / chess.ec
index 1585047..4688a7a 100644 (file)
@@ -663,6 +663,7 @@ class Chess : Window
       {
          case newAIGame:    aiItem.NotifySelect(this, aiItem, 0); break;
          case newLocalGame: localItem.NotifySelect(this, localItem, 0); break;
+         case close:        Destroy(0); break;
       }
    }