mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 09:28:21 +01:00
fix core api bug
This commit is contained in:
parent
c403a5b8bf
commit
ca647d31c0
@ -105,15 +105,14 @@ self.OS or=
|
||||
|
||||
killAll: (app, force) ->
|
||||
return unless _PM.processes[app]
|
||||
tmp = []
|
||||
tmp.push a for a in _PM.processes[app]
|
||||
a.quit(force) for a in tmp
|
||||
a.quit(force) for a in _PM.processes[app]
|
||||
|
||||
cleanup: ->
|
||||
console.log "Clean up system"
|
||||
_PM.killAll a, true for a, v of _PM.processes
|
||||
_courrier.observable.off("*") if _courrier.observable
|
||||
($ "#wrapper").empty()
|
||||
_GUI.clearTheme()
|
||||
_courrier.observable.off("*") if _courrier.observable
|
||||
_courrier.observable = riot.observable()
|
||||
_courrier.quota = 0
|
||||
_OS.APP = {}
|
||||
|
Loading…
Reference in New Issue
Block a user