Reset the daemon messenger after a successful Launch().
This commit is contained in:
parent
daf972c99c
commit
e1e78d4deb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user