mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 1412081 - Call KillClearOnShutdown(ShutdownPhase::ShutdownFinal) in PluginProcessChild on all platforms r=jimm
This call gated by ifdef OS_WIN - so on Linux it would leak objects that were supposed to be ClearOnShutdown in the plugin process --HG-- extra : rebase_source : 24c4233ec8735e0176d584b623ad626d0a9b5c3b
This commit is contained in:
parent
5bd326c5f5
commit
cac3417291
@ -167,9 +167,10 @@ PluginProcessChild::CleanUp()
|
||||
// call XPCOM's shutdown but we need this event to be sent to avoid
|
||||
// leaking objects labeled as ClearOnShutdown.
|
||||
nsThreadManager::get().Shutdown();
|
||||
mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownFinal);
|
||||
NS_LogTerm();
|
||||
#endif
|
||||
|
||||
mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownFinal);
|
||||
}
|
||||
|
||||
} // namespace plugins
|
||||
|
Loading…
x
Reference in New Issue
Block a user