From aadd42a9b499e2c8a082c6fb8be914b2982e2681 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 6 Sep 2021 10:14:23 +0200 Subject: [PATCH] Restore FLTK event dispatcher on exit --- vncviewer/DesktopWindow.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index ef023a5b..d2a0d4c1 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -235,6 +235,8 @@ DesktopWindow::~DesktopWindow() staticSelf = NULL; + Fl::event_dispatch(Fl::handle_); + // FLTK automatically deletes all child widgets, so we shouldn't touch // them ourselves here } -- 2.39.5