Commit 60059ebb authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

dvblast: Remove comm socket on exit.

parent 55f1b12a
...@@ -978,5 +978,9 @@ int main( int i_argc, char **pp_argv ) ...@@ -978,5 +978,9 @@ int main( int i_argc, char **pp_argv )
if ( b_enable_syslog ) if ( b_enable_syslog )
msg_Disconnect(); msg_Disconnect();
if ( psz_srv_socket && i_comm_fd > -1 )
unlink( psz_srv_socket );
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
...@@ -152,6 +152,7 @@ extern output_t **pp_outputs; ...@@ -152,6 +152,7 @@ extern output_t **pp_outputs;
extern int i_nb_outputs; extern int i_nb_outputs;
extern output_t output_dup; extern output_t output_dup;
extern char *psz_srv_socket; extern char *psz_srv_socket;
extern int i_comm_fd;
extern int i_adapter; extern int i_adapter;
extern int i_fenum; extern int i_fenum;
extern int i_frequency; extern int i_frequency;
......
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