Closed JensLincke closed 7 years ago
The squeak vm did not consume any CPU
I had to use the task manager to kill it, not even the task bar and close window worked.
Found the bug! Due to the changed implementation of semaphores in squeak there was a deadlock between drawing code and model update code in kedama.
We fixed this my replacing critical:
with critical: ifLocked:
and do nothing.
KedamaMorph>>#drawTurtlesOnForm: aForm
turtlesToDisplay do: [:exampler |
(self isVisible: exampler) ifTrue: [
turtlesDictSemaphore critical: [
exampler turtles drawOn: aForm.
] ifLocked: [
]
].
].
@marceltaeumel helped me find and fix it
I applied this fix in trunk
Alt+. does also not seem to work anymore then. (experienced in the non etoys friendly mode... if this makes any difference)