Reset the daemon messenger after a successful Launch().

This commit is contained in:
Axel Dörfler
2015-01-06 15:22:14 +01:00
parent daf972c99c
commit e1e78d4deb
+5 -1
View File
@@ -135,5 +135,9 @@ BMailDaemon::Quit()
status_t
BMailDaemon::Launch()
{
return be_roster->Launch(B_MAIL_DAEMON_SIGNATURE);
status_t status = be_roster->Launch(B_MAIL_DAEMON_SIGNATURE);
if (status == B_OK)
fDaemon = BMessenger(B_MAIL_DAEMON_SIGNATURE);
return status;
}