Commit c650ec93 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comsvcs/tests: Close test thread handles.

parent 14003b00
...@@ -197,6 +197,7 @@ static void create_dispenser(void) ...@@ -197,6 +197,7 @@ static void create_dispenser(void)
ok(!WaitForSingleObject(thread, 1000), "wait failed\n"); ok(!WaitForSingleObject(thread, 1000), "wait failed\n");
GetExitCodeThread(thread, &ret); GetExitCodeThread(thread, &ret);
ok(ret == CO_E_NOTINITIALIZED, "got unexpected hr %#x\n", ret); ok(ret == CO_E_NOTINITIALIZED, "got unexpected hr %#x\n", ret);
CloseHandle(thread);
init_test_driver(&driver); init_test_driver(&driver);
...@@ -210,6 +211,7 @@ static void create_dispenser(void) ...@@ -210,6 +211,7 @@ static void create_dispenser(void)
ok(!WaitForSingleObject(thread, 20000), "wait failed\n"); ok(!WaitForSingleObject(thread, 20000), "wait failed\n");
GetExitCodeThread(thread, &ret); GetExitCodeThread(thread, &ret);
ok(ret == S_OK, "got unexpected hr %#x\n", ret); ok(ret == S_OK, "got unexpected hr %#x\n", ret);
CloseHandle(thread);
hr = IDispenserManager_RegisterDispenser(dispenser, &driver.IDispenserDriver_iface, L"SC.Pool 0 0", &holder2); hr = IDispenserManager_RegisterDispenser(dispenser, &driver.IDispenserDriver_iface, L"SC.Pool 0 0", &holder2);
ok(hr == S_OK, "got 0x%08x\n", hr); ok(hr == S_OK, "got 0x%08x\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment