[scheduler] Fix crash when posting a cross-task and shutting down queue
Fix a crash when queue was readded to RemoveFromIncomingImmediateWorkList during unregistration process when a different thread tried to post a task to it, leaving a dangling pointer. R=alexclarke@chromium.org Change-Id: Iac8c207699e3a08a4f792f705841bdfa1839b30c Reviewed-on: https://chromium-review.googlesource.com/1112239 Commit-Queue: Alexander Timin <altimin@chromium.org> Reviewed-by:Alex Clarke <alexclarke@chromium.org> Cr-Commit-Position: refs/heads/master@{#571088}
Showing
Please register or sign in to comment