mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-09-07 13:16:38 +02: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-circle"
|
||||||
@iconclass = "fa fa-close" unless @is_connect
|
@iconclass = "fa fa-close" unless @is_connect
|
||||||
@update()
|
@update()
|
||||||
|
OS.onexit "cleanupAntunnel", () =>
|
||||||
|
Antunnel.tunnel.close() if Antunnel.tunnel
|
||||||
|
@quit()
|
||||||
|
|
||||||
|
|
||||||
action: (e) ->
|
action: (e) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user