MCPcopy Create free account
hub / github.com/FastLED/FastLED / fl_cleanup

Function fl_cleanup

tests/doctest_main.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61namespace testing_detail {
62
63void fl_cleanup() {
64 // Clean up all background threads before DLL unload to prevent access violations
65 // This includes both coroutine threads and promise resolver threads
66 fl::EngineEvents::onExit();
67 fl::platforms::cleanup_coroutine_threads();
68
69 // Clean up PARLIO mock to prevent LSAN leak false positive reports.
70 fl::detail::cleanup_parlio_mock();
71}
72
73int fl_run_tests(int argc, const char** argv) {
74 // NOTE: Crash handler is setup by runner.exe BEFORE loading this DLL

Callers 2

fl_run_testsFunction · 0.85
fl_mainFunction · 0.85

Calls 2

cleanup_parlio_mockFunction · 0.85

Tested by

no test coverage detected