mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
[Pale-Moon] Issue #1972 - Make sure all tab activity is halted before removal.
This commit is contained in:
parent
fa2fdbe24e
commit
cf29319f78
1 changed files with 6 additions and 0 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue