[BUG] SystemWindow>>delete, #release instead of #removeDependent:
Lex Spoon
lex at cc.gatech.edu
Mon Jul 16 18:34:13 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.
>
>
Sounds good to me! It would also seem good to put "self release" in the
default #windowIsClosing method....
-Lex
More information about the Squeak-dev
mailing list
|