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)
|
if (!replay)
|
||||||
sendGameCommand(Command_LeaveGame());
|
sendGameCommand(Command_LeaveGame());
|
||||||
}
|
}
|
||||||
|
scene->clearViews();
|
||||||
deleteLater();
|
deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue