In MultisammpleTest, a custom OSWindow object is created. Sometimes this window's internal Objective-C window object is not released after the test finishes, thus input events such as mouse/keyboard are still forwarded to this window. However its content view is already released causing the crash. call [mWindow setContentView:nil] inside OSXWindow::destroy() seems to fix this bug. Bug: angleproject:4815 Change-Id: If00398ff0082624ade5e8be8ad3b0f91d17c23ed Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2281782 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by:Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:
Jonah Ryan-Davis <jonahr@google.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| android | Loading commit data... | |
| fuchsia | Loading commit data... | |
| osx | Loading commit data... | |
| ozone | Loading commit data... | |
| posix | Loading commit data... | |
| windows | Loading commit data... | |
| x11 | Loading commit data... | |
| BUILD.gn | Loading commit data... | |
| EGLPlatformParameters.h | Loading commit data... | |
| EGLWindow.cpp | Loading commit data... | |
| EGLWindow.h | Loading commit data... | |
| Event.h | Loading commit data... | |
| Matrix.cpp | Loading commit data... | |
| Matrix.h | Loading commit data... | |
| OSPixmap.h | Loading commit data... | |
| OSWindow.cpp | Loading commit data... | |
| OSWindow.h | Loading commit data... | |
| Timer.cpp | Loading commit data... | |
| Timer.h | Loading commit data... | |
| com_utils.h | Loading commit data... | |
| egl_loader_autogen.cpp | Loading commit data... | |
| egl_loader_autogen.h | Loading commit data... | |
| frame_capture_test_utils.h | Loading commit data... | |
| geometry_utils.cpp | Loading commit data... | |
| geometry_utils.h | Loading commit data... | |
| gles_loader_autogen.cpp | Loading commit data... | |
| gles_loader_autogen.h | Loading commit data... | |
| keyboard.h | Loading commit data... | |
| mouse.h | Loading commit data... | |
| png_utils.cpp | Loading commit data... | |
| png_utils.h | Loading commit data... | |
| random_utils.cpp | Loading commit data... | |
| random_utils.h | Loading commit data... | |
| shader_utils.cpp | Loading commit data... | |
| shader_utils.h | Loading commit data... | |
| test_utils.cpp | Loading commit data... | |
| test_utils.h | Loading commit data... | |
| test_utils_unittest.cpp | Loading commit data... | |
| test_utils_unittest_helper.cpp | Loading commit data... | |
| test_utils_unittest_helper.h | Loading commit data... | |
| util_export.h | Loading commit data... | |
| util_gl.h | Loading commit data... |