projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7d60b
)
Fixed thread handling.
author
Armin Novak
<anovak@thinstuff.com>
Thu, 5 Sep 2013 11:38:35 +0000
(13:38 +0200)
committer
Armin Novak
<anovak@thinstuff.com>
Thu, 5 Sep 2013 11:38:35 +0000
(13:38 +0200)
channels/audin/server/audin.c
patch
|
blob
|
history
diff --git
a/channels/audin/server/audin.c
b/channels/audin/server/audin.c
index
564630d
..
b597150
100644
(file)
--- a/
channels/audin/server/audin.c
+++ b/
channels/audin/server/audin.c
@@
-419,7
+419,9
@@
static BOOL audin_server_close(audin_server_context* context)
SetEvent(audin->stopEvent);
WaitForSingleObject(audin->thread, INFINITE);
CloseHandle(audin->thread);
+ CloseHandle(audin->stopEvent);
audin->thread = NULL;
+ audin->stopEvent = NULL;
}
if (audin->audin_channel)