Fix crash when callback thread late launched after stream close.
When stream is closed before codec format changed event be processed, accessing all members in the stream instance is invalid and will lead to process crash. Use weak pointer to check instance before callback to track. Bug: 261393406 Test: manual Change-Id: I9dafa90d4f95d24189b21c80a31baa855c58cf3e
Loading
Please register or sign in to comment