Browse Source

clean nsmd exit on osc quit

tags/v1.6.0
Nils 3 years ago
parent
commit
e225f89106
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/nsmd.cpp

+ 3
- 1
src/nsmd.cpp View File

@@ -104,6 +104,8 @@ static int pending_operation = COMMAND_NONE;


static void wait ( long ); static void wait ( long );


void handle_signal_clean_exit ( int );



#define GUIMSG( fmt, args... ) \ #define GUIMSG( fmt, args... ) \
{ \ { \
@@ -2021,7 +2023,7 @@ OSC_HANDLER( quit )
{ {
close_session(); close_session();


exit(0);
handle_signal_clean_exit(0);


return 0; return 0;
} }


Loading…
Cancel
Save