forked from Mirrors/privacore-open-source-search-engine
Dont pthread_join if vagus is disabled
This commit is contained in:
@ -287,6 +287,9 @@ bool InstanceInfoExchange::initialize() {
|
||||
|
||||
|
||||
void InstanceInfoExchange::finalize() {
|
||||
if(!enabled)
|
||||
return;
|
||||
|
||||
please_shut_down = true;
|
||||
char dummy='d';
|
||||
(void)write(fd_pipe[1],&dummy,1);
|
||||
|
Reference in New Issue
Block a user