Loading src/exec/allpix.cpp +1 −4 Original line number Diff line number Diff line Loading @@ -59,10 +59,7 @@ void abort_handler(int) { void interrupt_handler(int) { // Stop the framework if it is loaded if(apx_ready) { // Use signal-safe way of writing to STDERR const char str[] = "\nReceived interruption signal, finishing simulation...\n"; if(write(STDERR_FILENO, str, sizeof(str) - 1)) { }; LOG(STATUS) << "Interrupted! Finishing up active events..."; apx->terminate(); } } Loading Loading
src/exec/allpix.cpp +1 −4 Original line number Diff line number Diff line Loading @@ -59,10 +59,7 @@ void abort_handler(int) { void interrupt_handler(int) { // Stop the framework if it is loaded if(apx_ready) { // Use signal-safe way of writing to STDERR const char str[] = "\nReceived interruption signal, finishing simulation...\n"; if(write(STDERR_FILENO, str, sizeof(str) - 1)) { }; LOG(STATUS) << "Interrupted! Finishing up active events..."; apx->terminate(); } } Loading