BEHAVIOR CHANGE: Don't call on_error if cancelled, just reject. Don't reject promise from the background thread. Prevent data race on cancelled flag.
8 lines
181 B
CMake
8 lines
181 B
CMake
set(TEST_SOURCES
|
|
TestBackgroundAction.cpp
|
|
TestThread.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
ladybird_test("${source}" LibThreading LIBS LibThreading)
|
|
endforeach()
|