2 #include "SegfaultObserver.h"
3 #include "Initializer.h"
10 bool SegfaultObserver::handle_signal(int signal
, int status
) {
11 if(signal
== SIGSEGV
) {
12 Initializer::get_instance()->get_program_manager()->set_running(false);
13 Message::Message(Message::WARNING_MESSAGE
, "Program received SIGSEGV, aborting");
21 } // namespace Monitor
22 } // namespace Aesalon