protected override void OnDestroy() { base.OnDestroy(); /* * Deletes all cached files of this instance of the ArchitectView. * This guarantees that internal storage for this instance of the ArchitectView * is cleaned and app-memory does not grow each session. * * This should be called before architectView.onDestroy */ architectView.ClearCache(); architectView.OnDestroy(); // Mandatory ArchitectView lifecycle call }
public override void OnDestroy() { base.OnDestroy(); architectView.ClearCache(); architectView.OnDestroy(); }