beforeUnlink()
Called immediately before the activity is unlinked.
protected beforeUnlink(): void;
Notes
- Override this method to perform cleanup when the activity is destroyed.
- The activeSignal is aborted automatically to cancel any pending async operations.
- Note: afterInactive is not called when the activity is unlinked.
Related
class Activity
A class that represents a part of the application that can be activated when the user navigates to it.
