Skip to content

Commit 8ffb513

Browse files
authored
Merge pull request #847 from pharo-graphics/FixSemaphoreWait
Send #waitTimeoutMilliseconds: instead of #wait: to Semaphore
2 parents c103614 + 39f6fbf commit 8ffb513

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Bloc/BlSpace.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ BlSpace class >> pulseUntilSpaceOpenedAndEmptyTaskQueue: aSpace timeout: aDurati
161161
aSpace
162162
addEventHandlerOn: BlSpaceShownEvent
163163
doOnce: [ :event | aSemaphore signal ].
164-
aSemaphore wait: aDuration ].
164+
aSemaphore waitTimeoutMilliseconds: aDuration asMilliSeconds ].
165165

166166
^ self pulseUntilEmptyTaskQueue: aSpace timeout: aDuration
167167
]

0 commit comments

Comments
 (0)