diff options
author | Andrey Lihatskiy <andreylproductengine@lindenlab.com> | 2019-01-14 23:27:05 +0000 |
---|---|---|
committer | Andrey Lihatskiy <andreylproductengine@lindenlab.com> | 2019-01-14 23:27:05 +0000 |
commit | 942a37d969273a41ade8348049fe631445b1258b (patch) | |
tree | c0b562323c5860c11ed77598bde781e0ff5613ec /indra/llwindow | |
parent | f6bccd6f9eb62178f9f3d912114d12a84a9e42d6 (diff) | |
parent | 6c8cfff7aba5a757499bde55aef6a70d1443a09f (diff) |
Merged in ruslantproductengine/viewer-cougar-4cr-5 (pull request #41)
SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash
Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com>
Diffstat (limited to 'indra/llwindow')
-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) |