mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
d21fb140fd
commit
29d9dd2a71
@ -1239,16 +1239,12 @@ class QUnFrameWindow(resizableframeless):
|
||||
|
||||
gobject.baseobject.textsource = None
|
||||
endsubprocs()
|
||||
try:
|
||||
gobject.baseobject.destroytray()
|
||||
handle = windows.CreateMutex(False, "LUNASAVECONFIGUPDATE")
|
||||
if windows.GetLastError() != windows.ERROR_ALREADY_EXISTS:
|
||||
saveallconfig()
|
||||
self.tryremoveuseless()
|
||||
except:
|
||||
print_exc()
|
||||
gobject.baseobject.destroytray()
|
||||
handle = windows.CreateMutex(False, "LUNASAVECONFIG")
|
||||
if windows.GetLastError() != windows.ERROR_ALREADY_EXISTS:
|
||||
doupdate()
|
||||
else:
|
||||
windows.CloseHandle(handle)
|
||||
os._exit(0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user