Wireshark-commits: [Wireshark-commits] master b5b5f08: Qt: Make we shut down cleanly when exiting e

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 01 Mar 2018 08:44:14 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b5b5f08be1ec26340235b5b7eed411a2083f73dc
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b5b5f08 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    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@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e70e560   QUIC: Add heuristic for avoid conflict with GQUIC
    adds  b5b5f08   Qt: Make we shut down cleanly when exiting early.


Summary of changes:
 ui/commandline.c                | 26 +++++++++++++-------------
 ui/commandline.h                |  3 +++
 ui/gtk/gui_utils.c              |  5 +++++
 ui/qt/wireshark_application.cpp |  3 +++
 ui/ws_ui_util.h                 |  2 +-
 wireshark-qt.cpp                | 17 ++++++++++-------
 6 files changed, 35 insertions(+), 21 deletions(-)