Commit 12d99c68 authored by Christophe Massiot's avatar Christophe Massiot

* src/misc/httpd.c: Fixed HTTPd closing when several HTTPd instances are

   running.
parent 953697e9
......@@ -1267,10 +1267,10 @@ void httpd_HostDelete( httpd_host_t *host )
vlc_mutex_destroy( &host->lock );
vlc_object_destroy( host );
vlc_object_release( httpd );
if( httpd->i_host <= 0 )
{
msg_Info( httpd, "httpd doesn't reference any host, deleting" );
vlc_object_release( httpd );
vlc_object_detach( httpd );
vlc_object_destroy( httpd );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment