quit app when service is closed

This commit is contained in:
lxsang
2021-01-15 20:45:45 +01:00
parent e45e8dd5b1
commit 6aa49c4af9
6 changed files with 6 additions and 5 deletions

View File

@ -85,6 +85,7 @@ class SysmondService extends OS.application.BaseService
awake: () ->
cleanup: () ->
@app.quit() if @app
@sub.close() if @sub