Destroys the observer hook and notifies all observers
Source position: fpobserver.pp line 40
public destructor TObservedHook.Destroy; override; |
The Destroy destructor ensures proper cleanup by notifying all attached observers that the observed object is being destroyed.
This prevents observers from trying to access a destroyed object and gives them a chance to perform their own cleanup operations if needed.