mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 06:09:55 +01:00
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:
@@ -586,7 +586,6 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
if (controlSocket != null && controlConnection != null) {
|
if (controlSocket != null && controlConnection != null) {
|
||||||
try {
|
try {
|
||||||
LOG.info("Stopping Tor");
|
LOG.info("Stopping Tor");
|
||||||
controlConnection.setConf("DisableNetwork", "1");
|
|
||||||
controlConnection.shutdownTor("TERM");
|
controlConnection.shutdownTor("TERM");
|
||||||
controlSocket.close();
|
controlSocket.close();
|
||||||
} catch (TorNotRunningException e) {
|
} catch (TorNotRunningException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user