From d788f87ab9f24ad86c3d8106cd2492f271d92d68 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Sat, 24 Mar 2018 22:15:25 +0100 Subject: [PATCH] fix setting save bug --- src/core/core.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.coffee b/src/core/core.coffee index 505a793..07f7ece 100644 --- a/src/core/core.coffee +++ b/src/core/core.coffee @@ -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] \ No newline at end of file