diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-06-02 18:10:06 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-06-03 10:49:06 +0000 |
commit | c7c6b70cbea0ba185d7d3a00703c3f58f8411c8a (patch) | |
tree | 683e378d5a9834bca9ca9a1d293f3c73d981b056 /src/plugins/python/pythonlanguageclient.cpp | |
parent | 5ffb88bcd29e4f6433913e51d309e07a6b1beed6 (diff) | |
download | qt-creator-c7c6b70cbea0ba185d7d3a00703c3f58f8411c8a.tar.gz |
QtcProcess: Add stop() method
This method works like close() with the difference that
after calling stop() we are still going to receive
signals from QtcProcess, especially done() signal.
This method isn't blocking, so a calling it is fast.
Just after calling this method QtcProcess is still
in the same state and done() signal should be delivered
asynchronously. It's safe to call waitForFinished() after
calling stop() with the desired timeout.
Calling stop() in a row with waitForFinished() is a good
substitute for stopProcess().
Change-Id: I1df55beb7f89c9b73203c9ba4bc276a4060600a5
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
0 files changed, 0 insertions, 0 deletions