diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index 14cd720f64..7677990ac7 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -2125,6 +2125,12 @@ } // We're going to remove the tab and the browser now. + + // Interrupt all tab activity to aid in cleaning up detached window objects. + // Using the "superstop" should halt all animations, fetches, network activity + // etc. to come to a clean state for removal and unlinking (if enabled). + BrowserStop(); + // Clean up mTabFilters and mTabListeners now rather than in // _beginRemoveTab, so that their size is always in sync with the // number of tabs and browsers (the xbl destructor depends on this).