mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-19 08:36:27 +01:00
fix issue with ipmapping when not clicking abort (didnt test 😎 )
This commit is contained in:
parent
2470e9b21d
commit
adbf7eff3f
@ -52,6 +52,8 @@ public class RawIpProxyProvider extends ProxyProvider {
|
|||||||
stateSetter.setState(HState.PREPARING);
|
stateSetter.setState(HState.PREPARING);
|
||||||
proxy = new HProxy(input_host, input_host, input_port, input_port, "0.0.0.0");
|
proxy = new HProxy(input_host, input_host, input_port, input_port, "0.0.0.0");
|
||||||
|
|
||||||
|
maybeRemoveMapping();
|
||||||
|
|
||||||
if (!onBeforeIpMapping()) {
|
if (!onBeforeIpMapping()) {
|
||||||
stateSetter.setState(HState.NOT_CONNECTED);
|
stateSetter.setState(HState.NOT_CONNECTED);
|
||||||
return;
|
return;
|
||||||
|
@ -174,4 +174,9 @@ public class ConnectionController extends SubForm {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onExit() {
|
||||||
|
getHConnection().abort();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user