diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-11-20 15:11:15 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-11-20 15:11:15 +0000 |
commit | 1e6a19e48a684e7a5f4bbb694d54f9c462529039 (patch) | |
tree | 6d549225b8509505a8c007ad2dd40da484f59880 /file.c | |
parent | d1cdba1c132cb7deb7f433c09f9220e6b1bb768f (diff) |
Fix "'Closing File!' Dialog Hangs" bug 3046: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3046
svn path=/trunk/; revision=39959
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -288,8 +288,7 @@ cf_open(capture_file *cf, const char *fname, gboolean is_tempfile, int *err) /* The open succeeded. Close whatever capture file we had open, and fill in the information for this file. */ - cf_callback_invoke(cf_cb_file_closing, cf); - cf_reset_state(cf); + cf_close(cf); /* Cleanup all data structures used for dissection. */ cleanup_dissection(); |