mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-24 02:55:40 +08:00
Revert "Delay service exit until new configuration is loaded"
This reverts commit 05f39246bf
.
This commit is contained in:
parent
05f39246bf
commit
7742b08ec5
@ -685,7 +685,7 @@ int MODULEMAINFUNC (int argc, char** argv){
|
|||||||
memset(&defparam.sincr, 0, sizeof(defparam.sincr));
|
memset(&defparam.sincr, 0, sizeof(defparam.sincr));
|
||||||
if(isudp) while(!srv.fds.events)usleep(SLEEPTIME);
|
if(isudp) while(!srv.fds.events)usleep(SLEEPTIME);
|
||||||
}
|
}
|
||||||
while(!conf.timetoexit && conf.version <= srv.version) usleep(SLEEPTIME);
|
|
||||||
if(!srv.silent) srv.logfunc(&defparam, (unsigned char *)"Exiting thread");
|
if(!srv.silent) srv.logfunc(&defparam, (unsigned char *)"Exiting thread");
|
||||||
if(fp) fclose(fp);
|
if(fp) fclose(fp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user