mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
fix: implement forced exit on shutdown and enhance shutdown handling
This commit is contained in:
@@ -725,6 +725,8 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
|
||||
def closeEvent(self, event: QCloseEvent):
|
||||
closehelper()
|
||||
event.accept()
|
||||
from core.utils.general.shutdown import force_exit
|
||||
force_exit()
|
||||
|
||||
def eventFilter(self, obj, event):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user