Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it, because opening the Be menu doesn't work: ***PANIC: BW: Can't find view with ID: 19 !*** git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -174,7 +174,7 @@ main(int argc, char **argv)
|
||||
} else {
|
||||
BRoster roster;
|
||||
BRoster::Private rosterPrivate(roster);
|
||||
status_t error = rosterPrivate.ShutDown(gReboot, askUser);
|
||||
status_t error = rosterPrivate.ShutDown(gReboot, askUser, true);
|
||||
fprintf(stderr, "Shutdown failed: %s\n", strerror(error));
|
||||
return 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user