Revert "add pause to prevent yab crashing on Deskbar Close all"
This reverts commit 66bedce9ba
.
This commit is contained in:
parent
66bedce9ba
commit
fb6e3df844
@ -331,7 +331,7 @@ bool YabInterface::ExitRequested()
|
||||
// printf("QUITDEBUG: 3\n");
|
||||
|
||||
|
||||
BMessenger(be_app).SendMessage(new BMessage(B_QUIT_REQUESTED));
|
||||
// BMessenger(be_app).SendMessage(new BMessage(B_QUIT_REQUESTED));
|
||||
Quit();
|
||||
// printf("QUITDEBUG: Quit\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 tmp = 0;
|
||||
YabView *myView = cast_as((BView*)viewList->GetView(view), YabView);
|
||||
if(myView)
|
||||
@ -451,7 +450,7 @@ int YabInterface::CloseWindow(const char* view)
|
||||
}
|
||||
else
|
||||
Error(view, "VIEW");
|
||||
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
||||
@ -9390,12 +9389,12 @@ void YabInterface::MouseSet(const char* opt)
|
||||
|
||||
const char* YabInterface::GetMessageString()
|
||||
{
|
||||
snooze(85000);
|
||||
BString tmp;
|
||||
snooze(20000);
|
||||
BString tmp("");
|
||||
if(exiting)
|
||||
{
|
||||
tmp += "_QuitRequested|";
|
||||
//exiting = false;
|
||||
exiting = false;
|
||||
}
|
||||
tmp += localMessage;
|
||||
localMessage = "";
|
||||
|
3918
src/yab-IDE.yab
Executable file
3918
src/yab-IDE.yab
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user