mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
fix setting save bug
This commit is contained in:
parent
57971e4338
commit
d788f87ab9
@ -144,8 +144,8 @@ self.OS or=
|
||||
exit: ->
|
||||
#do clean up first
|
||||
f() for n, f of _OS.cleanupHandlers
|
||||
_OS.cleanup()
|
||||
_API.handler.setting (r) ->
|
||||
_OS.cleanup()
|
||||
_API.handler.logout()
|
||||
onexit: (n, f) ->
|
||||
self.OS.cleanupHandlers[n] = f unless self.OS.cleanupHandlers[n]
|
Loading…
Reference in New Issue
Block a user