From 035a7f37238508eee9ee0b25048fdee26f3f1282 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Fri, 23 Mar 2018 23:03:17 +0100 Subject: [PATCH] fix observable core --- src/core/core.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/core.coffee b/src/core/core.coffee index 4e52b20..76a3e55 100644 --- a/src/core/core.coffee +++ b/src/core/core.coffee @@ -113,6 +113,7 @@ self.OS or= console.log "Clean up system" ($ "#wrapper").empty() _GUI.clearTheme() + _courrier.observable.off("*") if _courrier.observable _courrier.observable = riot.observable() _courrier.quota = 0 _OS.APP = {}