Skip to content
Commit 1cd1c555 authored by Mark Renouf's avatar Mark Renouf
Browse files

ScrollCaptureConnection: fix npe on close() when active

A reference to the callback was being removed while still
needed. Instead use a local copy for posted callback.

Bug: 12345678
Test: atest ScrollCaptureConnectionTest#testCloseWhileActive
Change-Id: I3a11ac86a8c291972f442ebce962ba8a3a1ddee6
parent 41f4544e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment