projects
/
guacd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a63ff0
)
Detach main thread.
author
Michael Jumper <zhangmaike@users.sourceforge.net>
Sat, 19 Mar 2011 07:59:14 +0000
(
00:59
-0700)
committer
Michael Jumper <zhangmaike@users.sourceforge.net>
Sat, 19 Mar 2011 07:59:14 +0000
(
00:59
-0700)
src/daemon.c
patch
|
blob
|
history
diff --git
a/src/daemon.c
b/src/daemon.c
index
3029fc5
..
4364eee
100644
(file)
--- a/
src/daemon.c
+++ b/
src/daemon.c
@@
-265,6
+265,8
@@
int main(int argc, char* argv[]) {
GUAC_LOG_ERROR("Could not create client thread: %s", lasterror());
return 3;
}
+
+ pthread_detach(thread);
#elif __MINGW32__
if (_beginthread(start_client_thread, 0, (void*) data) == -1L) {
GUAC_LOG_ERROR("Could not create client thread: %s", lasterror());