summaryrefslogtreecommitdiff
path: root/src/plugins/ios/iostoolhandler.h
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2013-12-04 12:58:29 +0100
committerFawzi Mohamed <fawzi.mohamed@digia.com>2013-12-04 15:40:07 +0100
commit5d4e9066c8c53f2612f809b5f6d28b0c39561ec1 (patch)
tree7f04dba536322458c41d21b74af4a00c9c68df7c /src/plugins/ios/iostoolhandler.h
parentfccffba04bbac0439583272b1c73151e9a00b0c6 (diff)
downloadqt-creator-5d4e9066c8c53f2612f809b5f6d28b0c39561ec1.tar.gz
ios: cleaner kill of subprocess of iostoolhandler
try to first terminate (sig TERM) the tool before killing it (this ensures a cleaner shutdown of the connection to the device). Task-number: QTCREATORBUG-10922 Change-Id: Ib39fbd1d35a651cdb51364532bdef5b69cb1347e Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.h')
-rw-r--r--src/plugins/ios/iostoolhandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/ios/iostoolhandler.h b/src/plugins/ios/iostoolhandler.h
index 11c4a56e75..de8e53c484 100644
--- a/src/plugins/ios/iostoolhandler.h
+++ b/src/plugins/ios/iostoolhandler.h
@@ -99,6 +99,7 @@ private slots:
void subprocessError(QProcess::ProcessError error);
void subprocessFinished(int exitCode, QProcess::ExitStatus exitStatus);
void subprocessHasData();
+ void killProcess();
private:
friend class Ios::Internal::IosToolHandlerPrivate;
Ios::Internal::IosToolHandlerPrivate *d;