mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibCore: Fix ThreadedPromise issues found with ThreadSanitizer
This commit is contained in:
parent
ec73299398
commit
892e75ddfb
Notes:
github-actions[bot]
2025-09-25 02:07:04 +00:00
Author: https://github.com/rcorsi
Commit: 892e75ddfb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6054
2 changed files with 2 additions and 3 deletions
|
|
@ -158,7 +158,7 @@ TEST_CASE(threaded_promise_resolved_later)
|
|||
{
|
||||
Core::EventLoop loop;
|
||||
|
||||
IGNORE_USE_IN_ESCAPING_LAMBDA bool unblock_thread = false;
|
||||
IGNORE_USE_IN_ESCAPING_LAMBDA Atomic<bool> unblock_thread = false;
|
||||
bool resolved = false;
|
||||
bool rejected = true;
|
||||
Optional<pthread_t> thread_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue