Symbian: ensure a process is really stopped after being suspended and then stopped

This commit is contained in:
Pawel Polanski
2011-02-07 11:04:30 +01:00
parent 50b6a98bd6
commit 8239ca4444

View File

@@ -1189,6 +1189,7 @@ void TcfTrkGdbAdapter::cleanup()
? socket->state() == QAbstractSocket::ConnectedState
: m_trkIODevice->isOpen();
if (isOpen) {
sendRunControlTerminateCommand(); //ensure process is stopped after being suspended
if (socket) {
socket->disconnect();
} else {