|
The default receiveMsg behaviour is to delete yourself when the broadcaster closes.
In many user subclasses oofSingleListener is a mixin and you have a class owned elsewhere, not self-deleting.
- Warning:
- If a subclass is not self-deleting it MUST override receiveMsg handling of the msg OOFmsg_BroadcasterClosing to prevent runtime error.
However it is still important to set mListensTo=0 otherwise when you finally get around to deleting your oofSingleListener, it will try to update a deleted oofBroadcaster and cause a crash.
Reimplemented from oofSingleListener. |