diff -r b62b14aa88d4 -r 4c5c8a83e298 QTfrontend/net/tcpBase.cpp --- a/QTfrontend/net/tcpBase.cpp Thu Jul 19 14:01:57 2018 +0200 +++ b/QTfrontend/net/tcpBase.cpp Thu Jul 19 19:11:39 2018 +0200 @@ -251,9 +251,15 @@ void TCPBase::tcpServerReady() { - disconnect(srvsList.first(), SIGNAL(isReadyNow()), this, SLOT(tcpServerReady())); - - RealStart(); + if (!srvsList.isEmpty()) + { + disconnect(srvsList.first(), SIGNAL(isReadyNow()), this, SLOT(tcpServerReady())); + RealStart(); + } + else + { + qDebug("tcpServerReady() called while srvsList was empty. Not starting TCP server"); + } } void TCPBase::Start(bool couldCancelPreviousRequest)