Browse Source

- Catch CTRL+C and exit cleanly

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
690bb92154
  1. 1
      src/main.cpp

1
src/main.cpp

@ -227,6 +227,7 @@ int main(int argc, char *argv[]){ @@ -227,6 +227,7 @@ int main(int argc, char *argv[]){
#ifndef Q_WS_WIN
signal(SIGABRT, sigabrtHandler);
signal(SIGTERM, sigtermHandler);
signal(SIGINT, sigtermHandler);
signal(SIGSEGV, sigsegvHandler);
#endif
// Read torrents given on command line

Loading…
Cancel
Save