[squeak-dev] The Trunk: System-mt.1093.mcz

Balázs Kósi rebmekop at gmail.com
Tue Oct 15 10:45:21 UTC 2019


Hi Hannes!

This morning I've just run into this exact same situation: putting a halt
into a method, called by a morph's #drawOn:
makes the image unusable.

The problem stems from WorldState >> displayWorldSafely: being safe only
for Errors and not for other kind of
Exceptions, and Halt being only an Exception not an Error.

For a quick fix add Halt to the handled exceptions in #displayWorldSafely:
[aWorld displayWorld. finished := true] on: Error, Halt do: [:ex |
Balázs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191015/28c15864/attachment.html>


More information about the Squeak-dev mailing list