Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use-after-free in AsyncEventBeat (#43618)
Summary: Pull Request resolved: #43618 Both common and Android implementations of AsyncEventBeat use weak_ptrs to determine if the object is still valid before invoking the callback. Move the write to `isBeatCallbackScheduled_` down so it's protected by that same check. Changelog: [Internal] Reviewed By: javache, NickGerleman Differential Revision: D55226529 fbshipit-source-id: 9e2a34369346d11dcea69d120dfa5935320f9ba1
- Loading branch information