* forgot to update the blocked window's redrawing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23562 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2e3a7b96c0
commit
13b76705a0
@ -202,7 +202,13 @@ InitParamsPanel::Go(BString& name, BString& parameters)
|
||||
Unlock();
|
||||
|
||||
// block this thread now
|
||||
acquire_sem(fExitSemaphore);
|
||||
while (true) {
|
||||
status_t err = acquire_sem_etc(fExitSemaphore, 1,
|
||||
B_CAN_INTERRUPT | B_RELATIVE_TIMEOUT, 50000);
|
||||
if (err != B_TIMED_OUT && err != B_INTERRUPTED)
|
||||
break;
|
||||
fWindow->UpdateIfNeeded();
|
||||
}
|
||||
|
||||
if (!Lock())
|
||||
return GO_CANCELED;
|
||||
|
Loading…
Reference in New Issue
Block a user