mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 06:39:54 +01:00
Merge branch 'do-not-crash-when-tor-crashes' into 'master'
Don't crash when the Tor process crashes See merge request briar/briar!1749
This commit is contained in:
@@ -811,7 +811,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
@Override
|
@Override
|
||||||
public void controlConnectionClosed() {
|
public void controlConnectionClosed() {
|
||||||
if (state.isTorRunning()) {
|
if (state.isTorRunning()) {
|
||||||
throw new RuntimeException("Control connection closed");
|
// TODO: Restart the Tor process
|
||||||
|
LOG.warning("Control connection closed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user