From 560994c97a13f13c6f5a6c8213e45376b3cf1e22 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Jan 2020 11:40:59 -0700 Subject: [PATCH] repeat baf0cdcbef1 but for BaseUI, thus covering all control protocols --- libs/pbd/base_ui.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/pbd/base_ui.cc b/libs/pbd/base_ui.cc index 1ea3fdc993..2ea27a0652 100644 --- a/libs/pbd/base_ui.cc +++ b/libs/pbd/base_ui.cc @@ -136,10 +136,6 @@ BaseUI::request_handler (Glib::IOCondition ioc) { /* check the request pipe */ - if (ioc & ~IO_IN) { - _main_loop->quit (); - } - if (ioc & IO_IN) { request_channel.drain (); @@ -153,6 +149,10 @@ BaseUI::request_handler (Glib::IOCondition ioc) handle_ui_requests (); } + if (ioc & ~(IO_IN|IO_PRI)) { + _main_loop->quit (); + } + return true; }