forked from osmocom/wireshark
Don't call main_window_update() from capture_input_new_packets()
on Windows. Otherwise we end up looping forever on a NULL event in main_window_update(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44283 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
parent
1a52e0e0f5
commit
fcf9dc9866
|
@ -430,7 +430,10 @@ capture_input_new_packets(capture_options *capture_opts, int to_read)
|
|||
}
|
||||
|
||||
/* update the main window so we get events (e.g. from the stop toolbar button) */
|
||||
/* This causes a hang on Windows (see bug 7305). Do we need this on any platform? */
|
||||
#ifndef _WIN32
|
||||
main_window_update();
|
||||
#endif
|
||||
|
||||
if(capture_opts->show_info)
|
||||
capture_info_new_packets(to_read);
|
||||
|
|
Loading…
Reference in New Issue