capmt: fix thread detach bug

This commit is contained in:
Jaroslav Kysela 2014-07-04 14:38:38 +02:00
parent a3f7ef30ea
commit 3f94def343

View file

@ -1902,7 +1902,7 @@ capmt_entry_find(const char *id, int create)
tvh_pipe(O_NONBLOCK, &capmt->capmt_pipe);
tvhthread_create(&capmt->capmt_tid, NULL, capmt_thread, capmt, 1);
tvhthread_create(&capmt->capmt_tid, NULL, capmt_thread, capmt, 0);
return capmt;
}