Wireshark-dev: [Wireshark-dev] WIRESHARK_QUIT_AFTER_CAPTURE

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Thu, 20 Aug 2015 10:30:01 +0200
Hi list
Wireshark can quit after capture when the variable WIRESHARK_QUIT_AFTER_CAPTURE is set and -a and -k are activated. This is used mainly for testing purposes, according to the manual.
This feature doesn't work in offline mode, when opening a local file. This would be very useful, so I tried to implement it in offline mode, but then I got lost into the qt/gtk code. Can anyone give me some clue about where the quit_after_cap check can be added? 
Thank you.
Dario.