Jinoh Kang (@iamahuman) commented about dlls/combase/tests/roapi.c:
winetest_push_context("to_type=%d", to_type);unk_ctx_impl->todo = TRUE;thread = CreateThread(NULL, 0, test_agile_resolve_context, ¶ms, 0, NULL);flush_events();ret = WaitForSingleObject(thread, 100);ok(!ret, "got ret %lu\n", ret);CloseHandle(thread);unk_ctx_impl->todo = FALSE;winetest_pop_context();}IAgileReference_Release(agile_reference);EXPECT_REF(unknown, 1);IUnknown_Release(unknown);RoUninitialize();
Ditto.