Chromium Code Reviews
DescriptionAdd check for null pointer
When resources are freed, asynchronous tasks may fail later and cause
promises to be rejected. However, since the resource is gone, this
crashes. Add a check that the ExecutionContext still exists before
using it.
BUG=644269
TEST=test case doesn't crash
Committed: https://crrev.com/d0abaf6c13603474382963075424bf7586558d74
Cr-Commit-Position: refs/heads/master@{#416797}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||