DescriptionFix SharedWorker leak when script load has failed.
When SharedWorker script load has failed and the |WebSharedWorkerImpl|
was explicit told to terminate, the |WebSharedWorkerImpl| instance
was never deleted.
This CL fixes the issue by invoking "delete this" when a worker thread
instance does not exist in |stopWorkerThread()|.
TEST=fast/workers/worker-crash-with-invalid-location.html doesn't leak when --enable-leak-detection
BUG=364390
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179011
Patch Set 1 #Patch Set 2 : tighten check #
Total comments: 1
Patch Set 3 : hasPendingActivity #Messages
Total messages: 7 (0 generated)
|