URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=763a059fe967b5be4db4ca7b07279ae990a07c7d
Submitter: Peter Wu (pe...@lekensteyn.nl)
Changed: branch: master
Repository: wireshark

Commits:

763a059 by Peter Wu (pe...@lekensteyn.nl):

    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 <pe...@lekensteyn.nl>
    Reviewed-by: Stig Bjørlykke <s...@bjorlykke.org>
    Tested-by: Petri Dish Buildbot <buildbot-no-re...@wireshark.org>
    Reviewed-by: Peter Wu <pe...@lekensteyn.nl>
    

Actions performed:

    from  2176423   extcap_example.py: fixes for Python 3
    adds  763a059   extcap_example.py: fix hang on exit


Summary of changes:
 doc/extcap_example.py |   61 ++++++++++++++++---------------------------------
 1 file changed, 20 insertions(+), 41 deletions(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to