On Mar 12, 2012, at 8:18 AM, Anders Broman wrote:

> Pressing the menu button "start a new live capture" before doing any other 
> GUI action still crashes WS.

OK, I've made cf_close() not do anything - not even deliver indications to the 
GUI - if you don't have an open capture file, made "wireshark -k" not act as if 
there's a capture file open until it actually gets told by dumpcap that there's 
a file to be opened, and added a new "attempt to start a capture failed" 
indication to the GUI and had the statusbar code clear out the "capture in 
progress" indications from the status bar and welcome screen; that appears to 
have fixed the problem you describe.

There may well be other cleanups necessary - I don't guarantee to have caught 
all the places where routines were being expected to do things in addition to 
the things one might normally expect them to do.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to