Skip to content

[Enhancement] Check if tunnel is active when opening the app in Kernel Mode.#1236

Open
Zaptyp wants to merge 1 commit into
wgtunnel:masterfrom
Zaptyp:enhancement/get-tunnel-in-kernel-mode-after-app-dies
Open

[Enhancement] Check if tunnel is active when opening the app in Kernel Mode.#1236
Zaptyp wants to merge 1 commit into
wgtunnel:masterfrom
Zaptyp:enhancement/get-tunnel-in-kernel-mode-after-app-dies

Conversation

@Zaptyp
Copy link
Copy Markdown
Contributor

@Zaptyp Zaptyp commented May 16, 2026

Check if tunnel is active when opening the app in Kernel Mode because when the app dies in the background (for example when app was killed by battery optimization) the tunnel still exist in kernel and app doesn't check if tunnel exist so user cannot disable that tunnel and device reboot is necessary (or user can try to use wg tool in termux to disable that tunnel)

Normal app behavior
Screenrecorder-2026-05-16-14-22-01-190.mp4
App behavior with my PR
OUTPUT.mp4

Signed-off-by: Zaptyp <43276401+Zaptyp@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant