diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-11 12:41:06 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-11 12:41:06 +0100 |
commit | 4d45ad00037a056e52c74dca8a5c00ab2763da5d (patch) | |
tree | 30fd521917a48bb19cdc306dae250ec43bafb498 /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | 5bd5fa63bf6caf90170f9e703e0dba433fe407a7 (diff) | |
download | qt-creator-4d45ad00037a056e52c74dca8a5c00ab2763da5d.tar.gz |
always clear pending command queue before posting shutdown commands
this ensures that, among other things, we won't get into this scenario:
- process is running
- interrupt is requested by user
- termination is requested by user
- before interrupt takes effect, the process terminates
=> shutdown is called
=> exit is also queued, as there is already a queued kill
=> nothing happens, as there will never be a stop response
Reviewed-by: hjk
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions