[BUG] SystemWindow>>delete, #release instead of #removeDependent:

Diego Gomez Deck DiegoGomezDeck at ConsultAr.com
Sat Jul 14 16:36:05 UTC 2001


In the SystemWindow>>delete method, the actual code send #release to the 
model making that all possible views of the model get 'broken'.


I think that change these 2 lines:

	model windowIsClosing; release.
	model _ nil.

to:

	model windowIsClosing.
	selt model: nil.


could fix this bug, but I'm not sure if this fix broke some existing use of 
SystemWindow.

Attached if the changeset with this fix.

TIA,

Diego Gomez Deck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SystemWindow-dgd.1.zip
Type: application/zip
Size: 510 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010714/337b62c2/SystemWindow-dgd.1.zip


More information about the Squeak-dev mailing list