Ticket #369: 0001-dbus-server-clean-up-on-SIGTERM-as-well.patch

File 0001-dbus-server-clean-up-on-SIGTERM-as-well.patch, 1.0 kB (added by nils, 7 years ago)

patch registering signal handler for SIGTERM as well

  • a/libffado/support/dbus/ffado-dbus-server.cpp

    old new  
    309309    } 
    310310 
    311311    signal (SIGINT, sighandler); 
     312    signal (SIGTERM, sighandler); 
    312313     
    313314    DBus::_init_threading(); 
    314315 
     
    347348    delete container; 
    348349 
    349350    signal (SIGINT, SIG_DFL); 
     351    signal (SIGTERM, SIG_DFL); 
    350352 
    351353    printMessage("server stopped\n"); 
    352354    delete m_deviceManager;