OnLynxViewDestroy
OnLynxViewDestroy is a virtual lifecycle method in the LynxExtensionModule class. It is called by the Lynx framework just before the associated LynxView instance is destroyed.
This callback is always invoked on the UI thread. It is the ideal place to perform cleanup tasks, release resources, and unregister listeners that were set up during OnLynxViewCreate.
Method Signature
Usage
You should override this method in your custom subclass of LynxExtensionModule to ensure that all resources tied to the LynxView are properly released. Failing to do so can lead to memory leaks or other unexpected behavior.
Example
See Also
OnLynxViewCreate(): The counterpart to this method, called when theLynxViewis created.
Compatibility
LCD tables only load in the browser