mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 19:58:21 +01:00
allow antunnel exit on system exit
This commit is contained in:
parent
525badca3f
commit
8b2c534e80
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -23,6 +23,9 @@ class AntunnelService extends OS.application.BaseService
|
||||
@iconclass = "fa fa-circle"
|
||||
@iconclass = "fa fa-close" unless @is_connect
|
||||
@update()
|
||||
OS.onexit "cleanupAntunnel", () =>
|
||||
Antunnel.tunnel.close() if Antunnel.tunnel
|
||||
@quit()
|
||||
|
||||
|
||||
action: (e) ->
|
||||
|
Loading…
Reference in New Issue
Block a user