summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2018-12-11 18:11:58 +0200
committerruslantproductengine <ruslantproductengine@lindenlab.com>2018-12-11 18:11:58 +0200
commit6c8cfff7aba5a757499bde55aef6a70d1443a09f (patch)
tree19d93dd84d36659297e1e3b3a94455c3c986d3db
parent4ab4c4498a04576a3cddf3533359a15a636b53b6 (diff)
SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash
-rw-r--r--indra/llwindow/llwindowmacosx-objc.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm
index 156d7965cd..c3eb9b8c8a 100644
--- a/indra/llwindow/llwindowmacosx-objc.mm
+++ b/indra/llwindow/llwindowmacosx-objc.mm
@@ -380,8 +380,8 @@ void closeWindow(NSWindowRef window)
void removeGLView(GLViewRef view)
{
+ [(LLOpenGLView*)view clearGLContext];
[(LLOpenGLView*)view removeFromSuperview];
- [(LLOpenGLView*)view release];
}
void setupInputWindow(NSWindowRef window, GLViewRef glview)