Chromium Code Reviews
DescriptionIndexedDB: Prevent terminated worker from hanging connections
IndexedDB database connection shutdown is normally blocked on waiting
for transactions to finish. And transaction finishing requires an
abort/onAbort message round-trip to the back-end. When a Worker
context is stopped, the communication channel goes away before the
response comes back, so the transaction never finishes and the
database connection never closes.
Fix by explicitly closing the connection when the execution context is
stopped.
R=alecflett@chromium.org,dgrogan@chromium.org,cmumford@chromium.org
BUG=242115
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165179
Patch Set 1 #Patch Set 2 : Add test expectation #
Total comments: 2
Patch Set 3 : Reword comment #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||