diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2018-12-11 18:11:58 +0200 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2018-12-11 18:11:58 +0200 |
commit | 6c8cfff7aba5a757499bde55aef6a70d1443a09f (patch) | |
tree | 19d93dd84d36659297e1e3b3a94455c3c986d3db | |
parent | 4ab4c4498a04576a3cddf3533359a15a636b53b6 (diff) |
SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.mm | 2 |
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) |