mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout c1878d925ef5 (bug 776940) due to leaks on Mac
This commit is contained in:
parent
6a005beed7
commit
9655afa272
@ -344,15 +344,7 @@ ShadowContainerLayerOGL::ShadowContainerLayerOGL(LayerManagerOGL *aManager)
|
||||
|
||||
ShadowContainerLayerOGL::~ShadowContainerLayerOGL()
|
||||
{
|
||||
// We don't Destroy() on destruction here because this destructor
|
||||
// can be called after remote content has crashed, and it may not be
|
||||
// safe to free the IPC resources of our children. Those resources
|
||||
// are automatically cleaned up by IPDL-generated code.
|
||||
//
|
||||
// In the common case of normal shutdown, either
|
||||
// LayerManagerOGL::Destroy(), a parent
|
||||
// *ContainerLayerOGL::Destroy(), or Disconnect() will trigger
|
||||
// cleanup of our resources.
|
||||
Destroy();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user