mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07: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:
parent
4c66ef03e2
commit
379ceeeca0
1 changed files with 1 additions and 0 deletions
|
|
@ -649,6 +649,7 @@ void TabGame::actLeaveGame()
|
|||
if (!replay)
|
||||
sendGameCommand(Command_LeaveGame());
|
||||
}
|
||||
scene->clearViews();
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue