Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7

This commit is contained in:
Benoit Jacob 2010-09-27 16:20:11 -04:00
parent 500e111cce
commit 868cedad20
2 changed files with 2 additions and 0 deletions

View File

@ -1608,6 +1608,7 @@ GLContextProviderEGL::GetGlobalContext()
void
GLContextProviderEGL::Shutdown()
{
gGlobalContext = nsnull;
}
} /* namespace gl */

View File

@ -741,6 +741,7 @@ GLContextProviderWGL::GetGlobalContext()
void
GLContextProviderWGL::Shutdown()
{
gGlobalContext = nsnull;
}
} /* namespace gl */