Fixed client termination (pure virtual function called issue). Utf8 is all fine.
This commit is contained in:
1 parent
477aeff288
commit
d3207f723b
1 file changed
+4
-2
@@ -3663,11 +3663,13 @@ void mainWindowImpl::quitPokerTH() {
|
|||||||
|
|
||||||
if (msgBox.exec() == QMessageBox::Yes ) {
|
if (msgBox.exec() == QMessageBox::Yes ) {
|
||||||
mySession->terminateNetworkClient();
|
mySession->terminateNetworkClient();
|
||||||
|
stopTimer();
|
||||||
if (myServerGuiInterface.get()) myServerGuiInterface->getSession().terminateNetworkServer();
|
if (myServerGuiInterface.get()) myServerGuiInterface->getSession().terminateNetworkServer();
|
||||||
qApp->quit();
|
qApp->quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
mySession->terminateNetworkClient();
|
||||||
stopTimer();
|
stopTimer();
|
||||||
qApp->quit();
|
qApp->quit();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user