Qt: Add check for running toolbar reader thread
authorStig Bjørlykke <stig@bjorlykke.org>
Thu, 3 May 2018 19:44:21 +0000 (21:44 +0200)
committerStig Bjørlykke <stig@bjorlykke.org>
Thu, 3 May 2018 19:45:40 +0000 (19:45 +0000)
commit895cfbfd01672af06dd71556b12899dbc2c7e8cd
tree307d0c90a6db5c4c66faeb9037fe7a50e2019884
parent751e9463ce5588631514573354c704171792c7db
Qt: Add check for running toolbar reader thread

Check if the reader thread is running before calling requestInterruption()
in an attempt to avoid a crash when stop capture.

Change-Id: I07cdc19eb42413ce421f05186314fc34c33041e6
Ping-Bug: 14631
Reviewed-on: https://code.wireshark.org/review/27316
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
ui/qt/interface_toolbar.cpp