mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1001134 - "Gamepad service leaks windows if a page goes into bfcache". r=ted r=continuation
This commit is contained in:
parent
f707178ed7
commit
2bf7b03799
@ -1607,6 +1607,8 @@ nsGlobalWindow::FreeInnerObjects()
|
||||
mAudioContexts.Clear();
|
||||
|
||||
#ifdef MOZ_GAMEPAD
|
||||
DisableGamepadUpdates();
|
||||
mHasGamepad = false;
|
||||
mGamepads.Clear();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user