mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
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:
parent
d7801c161d
commit
4fb34e68e9
@ -1608,6 +1608,7 @@ GLContextProviderEGL::GetGlobalContext()
|
||||
void
|
||||
GLContextProviderEGL::Shutdown()
|
||||
{
|
||||
gGlobalContext = nsnull;
|
||||
}
|
||||
|
||||
} /* namespace gl */
|
||||
|
@ -741,6 +741,7 @@ GLContextProviderWGL::GetGlobalContext()
|
||||
void
|
||||
GLContextProviderWGL::Shutdown()
|
||||
{
|
||||
gGlobalContext = nsnull;
|
||||
}
|
||||
|
||||
} /* namespace gl */
|
||||
|
Loading…
x
Reference in New Issue
Block a user