mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +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) ->
|
killAll: (app, force) ->
|
||||||
return unless _PM.processes[app]
|
return unless _PM.processes[app]
|
||||||
tmp = []
|
a.quit(force) for a in _PM.processes[app]
|
||||||
tmp.push a for a in _PM.processes[app]
|
|
||||||
a.quit(force) for a in tmp
|
|
||||||
|
|
||||||
cleanup: ->
|
cleanup: ->
|
||||||
console.log "Clean up system"
|
console.log "Clean up system"
|
||||||
|
_PM.killAll a, true for a, v of _PM.processes
|
||||||
|
_courrier.observable.off("*") if _courrier.observable
|
||||||
($ "#wrapper").empty()
|
($ "#wrapper").empty()
|
||||||
_GUI.clearTheme()
|
_GUI.clearTheme()
|
||||||
_courrier.observable.off("*") if _courrier.observable
|
|
||||||
_courrier.observable = riot.observable()
|
_courrier.observable = riot.observable()
|
||||||
_courrier.quota = 0
|
_courrier.quota = 0
|
||||||
_OS.APP = {}
|
_OS.APP = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user