Un-register the PassthroughGLDebugMessageCallback on Destroy
When the passthrough command decoder is destroyed, the callback needs to be un-registered from ANGLE. That way if the ANGLE context is used elsewhere, it won't dereferences an invalid pointer. Bug: chromium:1048205 Change-Id: Icf1b9969fa2bbc53d449e1b73ef66853303e94c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055423Reviewed-by:Geoff Lang <geofflang@chromium.org> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com> Cr-Commit-Position: refs/heads/master@{#745063}
Showing
Please register or sign in to comment