Force detach process on exit

This commit is contained in:
Blu3train 2023-03-31 20:17:05 +02:00
parent 233e75225c
commit 0b906ead0d

View File

@ -689,6 +689,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
DetachProcess(); //force detach process
Settings().setValue(WINDOW, geometry()); Settings().setValue(WINDOW, geometry());
CleanupExtensions(); CleanupExtensions();
SetErrorMode(SEM_NOGPFAULTERRORBOX); SetErrorMode(SEM_NOGPFAULTERRORBOX);