(purple) Kill daemon after sending protocol metadata

This commit is contained in:
Jaidyn Ann 2021-07-31 20:23:54 -05:00
parent 82f920798f
commit 4a6808f15f

View File

@ -146,6 +146,8 @@ PurpleApp::MessageReceived(BMessage* msg)
BRoster roster; BRoster roster;
if (roster.IsRunning(APP_SIGNATURE) == false) if (roster.IsRunning(APP_SIGNATURE) == false)
Quit(); Quit();
if (fAccountThreads.CountItems() == 0 || fAccounts.CountItems() == 0)
Quit();
break; break;
} }
case G_MAIN_LOOP: case G_MAIN_LOOP: