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

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
"dependencies": [ "dependencies": [
"Antunnel@0.1.8-a" "Antunnel@0.1.8-a"
], ],
"version":"0.1.6-a", "version":"0.1.7-a",
"category":"Other", "category":"Other",
"iconclass":"fa fa-android", "iconclass":"fa fa-android",
"mimes":["none"], "mimes":["none"],

View File

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

View File

@ -13,7 +13,7 @@
"dependencies": [ "dependencies": [
"Antunnel@0.1.8-a" "Antunnel@0.1.8-a"
], ],
"version":"0.1.6-a", "version":"0.1.7-a",
"category":"Other", "category":"Other",
"iconclass":"fa fa-android", "iconclass":"fa fa-android",
"mimes":["none"], "mimes":["none"],

View File

@ -235,8 +235,8 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md",
"category": "Other", "category": "Other",
"author": "", "author": "",
"version": "0.1.6-a", "version": "0.1.7-a",
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.6-a","category":"Other","iconclass":"fafa-android","mimes":["none"], "dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.7-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/build/release/SystemControl.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/build/release/SystemControl.zip"
}, },
{ {