Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c650ec93
Commit
c650ec93
authored
Oct 21, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comsvcs/tests: Close test thread handles.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
14003b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
comsvcs.c
dlls/comsvcs/tests/comsvcs.c
+2
-0
No files found.
dlls/comsvcs/tests/comsvcs.c
View file @
c650ec93
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment