DescriptionPipeline: Invalidate weak pointers before returning stop callback.
This is a follow up CL of r287687, which missed the corner case that an error
happened before Stop().
This CL also updated the PipelineTest so that we explicitly check that all weak
pointers must have been invalidated before the stop callback returns. With this
check PipelineTeardownTest.Error_* tests will cover this corner case.
BUG=399417
TEST=Updated unit test.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288181
Patch Set 1 #
Total comments: 2
Patch Set 2 : add HasWeakPtrsForTesting #
Messages
Total messages: 6 (0 generated)
|