MidiManager: Fix a potential race on macOS
CompleteInitialization can be posted at a place after DeleteSoon's task, and it can potentially cause a UAF crash. This happens only on browser's shutdown sequence, and it won't practically. But just in case and to make ASAN bots happy:) Bug: 880665, 672793 Change-Id: I8435290b4df7068d456368624935d3007a2c52d7 Reviewed-on: https://chromium-review.googlesource.com/1238297 Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#594667}
Showing
Please register or sign in to comment