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