Don't set "DisableNetwork 1" during shutdown.

This is redundant now that we start from the default config every time.
This commit is contained in:
akwizgran
2022-07-01 12:30:46 +01:00
parent 0ae5361281
commit 2298818af5

View File

@@ -586,7 +586,6 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
if (controlSocket != null && controlConnection != null) {
try {
LOG.info("Stopping Tor");
controlConnection.setConf("DisableNetwork", "1");
controlConnection.shutdownTor("TERM");
controlSocket.close();
} catch (TorNotRunningException e) {