B2G/gecko/browser/components/tabview/ui.js
// Should be called when window is unloaded.
Should be called when window is unloaded.
Should be called when window is unloaded .
function UI_uninit() {
    this._cleanupFunctions.forEach(function(func) {
      func();
    });
    this._cleanupFunctions = [];
    TabItems.uninit();
    GroupItems.uninit();
    FavIcons.uninit();
    Storage.uninit();
    Telemetry.uninit();
    this._removeTabActionHandlers();
    this._currentTab = null;
    this._pageBounds = null;
    this._reorderTabItemsOnShow = null;
    this._reorderTabsOnHide = null;
    this._frameInitialized = false;
  }
function UI_uninit ( ) { this . _cleanupFunctions . forEach ( function ( func ) { func ( ) ; } ) ; this . _cleanupFunctions = [ ] ; TabItems . uninit ( ) ; GroupItems . uninit ( ) ; FavIcons . uninit ( ) ; Storage . uninit ( ) ; Telemetry . uninit ( ) ; this . _removeTabActionHandlers ( ) ; this . _currentTab = null ; this . _pageBounds = null ; this . _reorderTabItemsOnShow = null ; this . _reorderTabsOnHide = null ; this . _frameInitialized = false ; }
Should be called when window is unloaded.
Should be called when window is unloaded .
// call our cleanup functions // additional clean up