[webkit-changes] [WebKit/WebKit] 4a40fe: Fix hang in SQLTransactionCoordinator::shutdown()
Ahmad Saleem
noreply at github.com
Tue Dec 19 17:18:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a40fea04d2fc3fa045298f31baff6ca489a5959
https://github.com/WebKit/WebKit/commit/4a40fea04d2fc3fa045298f31baff6ca489a5959
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp
Log Message:
-----------
Fix hang in SQLTransactionCoordinator::shutdown()
https://bugs.webkit.org/show_bug.cgi?id=266552
Reviewed by Chris Dumez.
Merge: https://src.chromium.org/viewvc/blink?view=revision&revision=181269
We should call `takeFirst` instead of `first` to decrease the size of
`info.pendingTransactions`.
Also update 'RefPtr<SQLTransaction>' to 'RefPtr'.
This changes does not have any test case.
* Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp:
(SQLTransactionCoordinator::shutdown):
Canonical link: https://commits.webkit.org/272316@main
More information about the webkit-changes
mailing list