mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1032876 - Do not do excessive and unnecessary plugin proto teardown; r=johns
This commit is contained in:
parent
d96f12a470
commit
1e5b3ed6cc
@ -2450,7 +2450,7 @@ nsObjectLoadingContent::UnloadObject(bool aResetState)
|
||||
|
||||
mScriptRequested = false;
|
||||
|
||||
if (!mInstanceOwner) {
|
||||
if (mIsStopping) {
|
||||
// The protochain is normally thrown out after a plugin stops, but if we
|
||||
// re-enter while stopping a plugin and try to load something new, we need
|
||||
// to throw away the old protochain in the nested unload.
|
||||
|
Loading…
Reference in New Issue
Block a user