[Pharo-dev] nil suspend

Aliaksei Syrel alex.syrel at gmail.com
Sat Nov 18 16:36:19 EST 2017


Hi,

I was looking at nil (already funny) and found a very interesting method:

suspend
   "Kills off processes that didn't terminate properly"
   "Display reverse; reverse."  "<-- So we can catch the suspend bug"
   Processor terminateActive

It means that the following code is probably the shortest way to kill your
image (save first!)

nil suspend

It terminates a UI process if evaluated from anywhere using CMD+d :D

Cheers,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171118/f4e00f02/attachment-0002.html>


More information about the Pharo-dev mailing list