mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-21 17:13:22 -08:00
Zone crash fix
Related to #808 When closing the app/game tab with a zone revealed the client will crash. This was due to the zones not being deleted.
This commit is contained in:
@@ -649,6 +649,7 @@ void TabGame::actLeaveGame()
|
||||
if (!replay)
|
||||
sendGameCommand(Command_LeaveGame());
|
||||
}
|
||||
scene->clearViews();
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user