QTfrontend/hwform.cpp
changeset 661 0523b15353a2
parent 660 7c155e849602
child 664 f0af2401f981
--- a/QTfrontend/hwform.cpp	Fri Dec 14 16:13:35 2007 +0000
+++ b/QTfrontend/hwform.cpp	Fri Dec 14 16:18:42 2007 +0000
@@ -498,6 +498,11 @@
 	switch(gameState) {
 		case gsStarted: {
 			ui.pageGameStats->labelGameStats->setText("");
+			if (pRegisterServer)
+			{
+				pRegisterServer->unregister();
+				pRegisterServer = 0;
+			}
 			break;
 		}
 		case gsFinished: {