General information
Category:
Object Oriented Programming
I am trying to implement an Observer object to send messages to objects on a form. The problem is that after I Subscribe my object to the Observer and then try to close the form on which the object exists, the form won't close. I assume this is because the Observer still has a reference to the object. I have tried releasing the object reference (from the Observer) in the objects Destroy method, but that didn't work. Where and how should the object "Unsubscribe"?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only