krlvm / PowerTunnel

Powerful and extensible proxy server with anti-censorship functionality
GNU General Public License v3.0
1.17k stars 77 forks source link

PowerTunnel doesn't restore the system proxy if the app doesn't terminate cleanly when Windows is shutting down #151

Open anjari opened 9 months ago

anjari commented 9 months ago

I'm using PowerTunnel in Windows. I often forget to stop the PowerTunnel before shutting down Windows, so when I start the Windows next time, the system proxy setting will still point to 127.0.0.1:8085.

I expect PowerTunnel should be able to detect event of Windows shutting down and then stop the server automatically before terminated, so it will restore the system proxy setting to original state.