[Q] [BUG] SystemWindow>>delete

Diego Gomez Deck DiegoGomezDeck at ConsultAr.com
Tue Mar 12 11:15:22 UTC 2002


Hi...

I'm still fighting with dependents... :)

In SystemWindow>>delete there is a #release message to the model, this method release all the dependents to the model... When I close one window, I lose all the other dependents...

I think that the best option is:

  self model removeDependent: self.

Exist any especial reason for it?

TIA,

Diego Gomez Deck

PS: I'd like to refactor the dependents mechanism (add the strong/weak option, add the necesary #removeDependent:, etc). What do you think?





More information about the Squeak-dev mailing list