[prev in list] [next in list] [prev in thread] [next in thread]
List: squeak-dev
Subject: Re: [squeak-dev] The Inbox: Kernel-jar.1375.mcz
From: Jaromir Matas <m () jaromir ! net>
Date: 2021-02-28 12:42:45
Message-ID: 1614516165164-0.post () n4 ! nabble ! com
[Download RAW message or body]
#forContext:priority: may cause image crash when supplying e.g. a block
instead of a context:
(save your image first!)
create a new process:
p := Process forContext: ["whatever"] priority: Processor activePriority
and then try to start a Process Browser or just do-it:
p isTerminated
The thing is both Process Browser and #isTerminated send `suspendedContext
isBottomContext` and that fails, starting a debugger and in some cases
windows start popping up...
I guess the easiest and safest fix is to send #asContext to the aContext
argument in #forContext:priority:
If not then a condition has to be added to make sure the aContext argument
really is a context.
regards,
-----
^[^ Jaromir
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic