[Pharo-project] is there a way to know whether an object is registered to an announcer?

Denis Kudriashov dionisiydk at gmail.com
Sun Apr 24 11:02:31 CEST 2011


Why #unregister: is not enough?

2011/4/24 Stéphane Ducasse <stephane.ducasse at inria.fr>

> Yes
>
> Now is there a way that we could make sure that an object is really
> unregistered?
> I would write
>
>        [ann hasSubscriber: anObject] whileTrue: [an unregister: anObject]
> in the client code
> but having
>
> fullyUnregister: anObject
>
> is good to have in special case.
>
> Stef
>
>
> > Okay. But i would discourage from using such methods :)
> >
> >> Stef
> >>
> >>>
> >>>
> >>> --
> >>> Best regards,
> >>> Igor Stasenko AKA sig.
> >>>
> >>
> >>
> >>
> >
> >
> >
> > --
> > Best regards,
> > Igor Stasenko AKA sig.
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110424/a6fc8aea/attachment.htm>


More information about the Pharo-project mailing list