April 23, 2013
7:47 p.m.
Luc Fabresse wrote
@Igor. It will not work here I think. because you make the shallow copy before initializing the process and the finalize message is then sent to the copy.
Yes, I had to copy the process variable to the copy, but it just gets uglier and uglier... copy := self copy. process := self class createProcessFor: copy. copy process: process. WeakRegistry default add: self executor: copy. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Terminating-a-Process-when-an-object-dies-tp4683036p46... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.