mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
filescanner: set event-base for cmdenv
This commit is contained in:
parent
f4d4716cf5
commit
ec75664b81
@ -2138,7 +2138,7 @@ filescanner_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
event_set(&cmdev, cmd_pipe[0], EV_READ, command_cb, NULL);
|
event_set(&cmdev, cmd_pipe[0], EV_READ, command_cb, NULL);
|
||||||
event_base_set(evbase_scan, &exitev);
|
event_base_set(evbase_scan, &cmdev);
|
||||||
event_add(&cmdev, NULL);
|
event_add(&cmdev, NULL);
|
||||||
|
|
||||||
ret = pthread_create(&tid_scan, NULL, filescanner, NULL);
|
ret = pthread_create(&tid_scan, NULL, filescanner, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user