forked from qt-creator/qt-creator
Symbian: ensure a process is really stopped after being suspended and then stopped
This commit is contained in:
@@ -1189,6 +1189,7 @@ void TcfTrkGdbAdapter::cleanup()
|
|||||||
? socket->state() == QAbstractSocket::ConnectedState
|
? socket->state() == QAbstractSocket::ConnectedState
|
||||||
: m_trkIODevice->isOpen();
|
: m_trkIODevice->isOpen();
|
||||||
if (isOpen) {
|
if (isOpen) {
|
||||||
|
sendRunControlTerminateCommand(); //ensure process is stopped after being suspended
|
||||||
if (socket) {
|
if (socket) {
|
||||||
socket->disconnect();
|
socket->disconnect();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user