longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Uninstall of app doesn't disconnect VPN #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install ICS-OpenVPN
2. Connect to a VPN
3. Uninstall ICS-OpenVPN

What is the expected output? What do you see instead?
VPN should disconnect, and notification should disappear. Instead - It stays 
connected until data connection dies. Clicking on the notification does 
nothing. you can't even get a disconnect option anymore.

What mobile phone are you using?
Galaxy S3

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Android 4.0.4 (Samsung stock rom)

Please provide any additional information below.
I believe this is because the ICS OpenVPN forks a new process (miniovpn), which 
doesn't get killed by uninstalling the App. Perhaps the app should notify the 
miniovpn process when it's uninstalled, or the miniovpn should periodically 
check if the management thread still exists.

Original issue reported on code.google.com by dkapuch...@gmail.com on 7 Aug 2012 at 9:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision cfe19e99a405.

Original comment by arne@rfc2549.org on 7 Aug 2012 at 10:49