Revert "add pause to prevent yab crashing on Deskbar Close all"

This reverts commit 66bedce9ba.
This commit is contained in:
Jim
2015-04-23 20:29:12 -07:00
parent 66bedce9ba
commit fb6e3df844
2 changed files with 3923 additions and 6 deletions
+4 -5
View File
@@ -331,7 +331,7 @@ bool YabInterface::ExitRequested()
// printf("QUITDEBUG: 3\n"); // printf("QUITDEBUG: 3\n");
BMessenger(be_app).SendMessage(new BMessage(B_QUIT_REQUESTED)); // BMessenger(be_app).SendMessage(new BMessage(B_QUIT_REQUESTED));
Quit(); Quit();
// printf("QUITDEBUG: Quit\n"); // printf("QUITDEBUG: Quit\n");
// printf("QUITDEBUG: wait\n"); // printf("QUITDEBUG: wait\n");
@@ -369,7 +369,6 @@ void YabInterface::OpenWindow(const BRect frame, const char* id, const char* tit
int YabInterface::CloseWindow(const char* view) int YabInterface::CloseWindow(const char* view)
{ {
int tmp = 0; int tmp = 0;
YabView *myView = cast_as((BView*)viewList->GetView(view), YabView); YabView *myView = cast_as((BView*)viewList->GetView(view), YabView);
if(myView) if(myView)
@@ -9390,12 +9389,12 @@ void YabInterface::MouseSet(const char* opt)
const char* YabInterface::GetMessageString() const char* YabInterface::GetMessageString()
{ {
snooze(85000); snooze(20000);
BString tmp; BString tmp("");
if(exiting) if(exiting)
{ {
tmp += "_QuitRequested|"; tmp += "_QuitRequested|";
//exiting = false; exiting = false;
} }
tmp += localMessage; tmp += localMessage;
localMessage = ""; localMessage = "";
+3918
View File
File diff suppressed because it is too large Load Diff