repeat baf0cdcbef
but for BaseUI, thus covering all control protocols
This commit is contained in:
parent
baf0cdcbef
commit
560994c97a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user