summaryrefslogtreecommitdiff
path: root/src/plugins/ios/iostoolhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r--src/plugins/ios/iostoolhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp
index cd640edc99..aab7106cc1 100644
--- a/src/plugins/ios/iostoolhandler.cpp
+++ b/src/plugins/ios/iostoolhandler.cpp
@@ -286,7 +286,8 @@ void IosToolHandlerPrivate::stop(int errorCode)
return;
}
if (process.state() != QProcess::NotRunning) {
- process.terminate();
+ process.write("k\n\r");
+ process.closeWriteChannel();
killTimer.start(1500);
}
}