capmt: fix thread detach bug
This commit is contained in:
parent
a3f7ef30ea
commit
3f94def343
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue