diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-02-26 10:39:27 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-03-01 08:44:00 +0000 |
commit | b5b5f08be1ec26340235b5b7eed411a2083f73dc (patch) | |
tree | 06abfbcc0c63ced50a1a07dbbe97070bafad34f1 /ui/ws_ui_util.h | |
parent | e70e560cab016f5170dc0d00726e80ff0de1b11a (diff) |
Qt: Make we shut down cleanly when exiting early.
Add an exit_application() routine that calls wsApp->quit() + exit() in
the Qt UI and exit() in the GTK+ UI. Make sure we call it instead of
exit() when needed.
Bug: 14395
Change-Id: I171b5fd19ce4664db4a2ebb4b8c33e278dcec427
Reviewed-on: https://code.wireshark.org/review/26121
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/ws_ui_util.h')
-rw-r--r-- | ui/ws_ui_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ws_ui_util.h b/ui/ws_ui_util.h index 571c53c265..fd59085e48 100644 --- a/ui/ws_ui_util.h +++ b/ui/ws_ui_util.h @@ -40,7 +40,7 @@ typedef struct window_geometry_s { /* update the main window */ extern void main_window_update(void); -/* quit a nested main window */ +/* quit a nested main window. GTK+ only. */ extern void main_window_nested_quit(void); /* quit the main window */ extern void main_window_quit(void); |