Bug 41409: tie TorMonitorService.isRunning to having a connection
TorMonitorService.isRunning
is used by wait_for_controller
to know when a connection is ready, or to wait for a TorProcessReady
notification.
But TorProcessReady
actually means that we have a working controller connection, so I made TorMonitorService.isRunning
be coherent and return true
when we have this.connection
(instead of returning true
if the process is running).
Fixes #41409 (closed) and should be merged with torbutton!108 (merged).