diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-10-16 17:05:46 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-10-16 22:45:09 +0000 |
commit | 763a059fe967b5be4db4ca7b07279ae990a07c7d (patch) | |
tree | b91117338de8ff4cdc6be841b83d4bc52c404779 /ui/qt/qcustomplot.cpp | |
parent | 2176423b4ab5ddb5b23d9bfd1417c7280b3f5129 (diff) | |
download | wireshark-763a059fe967b5be4db4ca7b07279ae990a07c7d.tar.gz |
extcap_example.py: fix hang on exit
I guess that when SIGINT is intercepted, then the writes are restarted
and the doExit condition is never checked. Remove this racy check in
favor of catching the KeyboardInterrupt exception.
Test: tshark -i example1; kill tshark; check process list for python.
Bug: 11657
Change-Id: Ia8b1ee560b9dcd31dd91df27fbfb8e91237581c9
Reviewed-on: https://code.wireshark.org/review/18218
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/qt/qcustomplot.cpp')
0 files changed, 0 insertions, 0 deletions