Fix to ensure shutdown of mmsproxy on signal
This commit is contained in:
parent
f101c756a2
commit
b4386c0bc3
|
@ -45,8 +45,10 @@ static int rstop = 0;
|
|||
static void quit_now(int notused)
|
||||
{
|
||||
rstop = 1;
|
||||
if (settings)
|
||||
http_close_port(settings->port);
|
||||
if (settings) {
|
||||
http_close_port(settings->port);
|
||||
http_close_port(settings->mm7port);
|
||||
}
|
||||
}
|
||||
|
||||
static void free_clientInfo(MmsHTTPClientInfo *h, int freeh);
|
||||
|
|
Loading…
Reference in New Issue