core: change manual crash trigger

This commit is contained in:
itsmattkc
2022-05-11 09:22:53 -07:00
parent 9969a29be1
commit 92dd49961d
+1 -3
View File
@@ -185,9 +185,7 @@ void Core::Start()
QTimer *crash_timer = new QTimer(this);
crash_timer->setInterval(interval);
connect(crash_timer, &QTimer::timeout, this, []{
// Try to read invalid memory to crash the application
int *invalid_ptr = nullptr;
qDebug() << *invalid_ptr;
abort();
});
crash_timer->start();
}