# HG changeset patch # User sheepluva # Date 1346841407 -7200 # Node ID e06b83cbde746a8878ad0d8da00d6f3994f96585 # Parent 686ba86ae0e39ab0e8d72026fddec57d56de1115 fix a segfault related to tcp servers deleting themselves without removing themselves from the internal server list first. (e.g. happens if game fails to start due to missing hwengine binary. a second start attempt will lead to a segfault, even if you correctly install the binary.) diff -r 686ba86ae0e3 -r e06b83cbde74 QTfrontend/net/tcpBase.cpp --- a/QTfrontend/net/tcpBase.cpp Tue Sep 04 18:40:53 2012 -0400 +++ b/QTfrontend/net/tcpBase.cpp Wed Sep 05 12:36:47 2012 +0200 @@ -96,6 +96,10 @@ /* if(srvsList.size()==1) srvsList.pop_front(); emit isReadyNow();*/ IPCSocket->deleteLater(); + + // make sure this object is not in the server list anymore + srvsList.removeOne(this); + deleteLater(); }