mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-10-17 15:21:40 +02:00
Clean shutdown on window close
This commit is contained in:
@@ -49,6 +49,7 @@ public class Gui extends Application {
|
||||
@Override
|
||||
public void stop() throws Exception {
|
||||
isStopping = true;
|
||||
if(controller.getRouterWrapper().isStarted()) controller.getRouterWrapper().stop();
|
||||
}
|
||||
|
||||
public boolean isStopping() {
|
||||
|
||||
@@ -211,8 +211,6 @@ public class RouterWrapper {
|
||||
|
||||
final static String PROP_I2NP_NTCP_HOSTNAME = "i2np.ntcp.hostname";
|
||||
final static String PROP_I2NP_NTCP_PORT = "i2np.ntcp.port";
|
||||
final static String PROP_I2NP_NTCP_AUTO_PORT = "i2np.ntcp.autoport";
|
||||
final static String PROP_I2NP_NTCP_AUTO_IP = "i2np.ntcp.autoip";
|
||||
|
||||
public NetworkStateMessage getReachability() {
|
||||
RouterContext _context = router.getContext();
|
||||
|
||||
Reference in New Issue
Block a user