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:
e828cef
)
Fixed thread hanling.
author
Armin Novak
<anovak@thinstuff.com>
Thu, 5 Sep 2013 11:39:32 +0000
(13:39 +0200)
committer
Armin Novak
<anovak@thinstuff.com>
Thu, 5 Sep 2013 11:39:32 +0000
(13:39 +0200)
libfreerdp/utils/svc_plugin.c
patch
|
blob
|
history
diff --git
a/libfreerdp/utils/svc_plugin.c
b/libfreerdp/utils/svc_plugin.c
index
f0869a6
..
e07e8b3
100644
(file)
--- a/
libfreerdp/utils/svc_plugin.c
+++ b/
libfreerdp/utils/svc_plugin.c
@@
-185,6
+185,8
@@
static void* svc_plugin_thread_func(void* arg)
DEBUG_SVC("in");
+ assert(NULL != plugin);
+
IFCALL(plugin->connect_callback, plugin);
while (1)
@@
-212,6
+214,8
@@
static void* svc_plugin_thread_func(void* arg)
DEBUG_SVC("out");
+ ExitThread(0);
+
return 0;
}