mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1413043 - check WR enabling status before the WR calls. r=pchang
MozReview-Commit-ID: 29mkllmDQ0L
This commit is contained in:
parent
73037a0f6a
commit
12d00a2d70
@ -1008,6 +1008,10 @@ gfxPlatform::Shutdown()
|
||||
|
||||
gfx::Factory::ShutDown();
|
||||
|
||||
if (gfxConfig::IsEnabled(Feature::WEBRENDER)) {
|
||||
mozilla::wr::wr_shutdown_external_log_handler();
|
||||
}
|
||||
|
||||
delete gGfxPlatformPrefsLock;
|
||||
|
||||
gfxVars::Shutdown();
|
||||
@ -1016,8 +1020,6 @@ gfxPlatform::Shutdown()
|
||||
|
||||
gfxConfig::Shutdown();
|
||||
|
||||
mozilla::wr::wr_shutdown_external_log_handler();
|
||||
|
||||
gPlatform->WillShutdown();
|
||||
|
||||
delete gPlatform;
|
||||
|
Loading…
Reference in New Issue
Block a user