Merge remote-tracking branch 'Blu3train/forceDetachProcessOnExit'

This commit is contained in:
Chenx221 2024-09-05 12:37:30 +08:00
commit 672bb10b0d

View File

@ -698,6 +698,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);