GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit bf824c0f authored by Matthew Finkel's avatar Matthew Finkel

fixup! Bug 40028: Implement Tor Service controller

Bug 40040: Try avoiding a race condition when starting Tor

This does not prevent the race, but this increases the chances that
the two racing operations do not happen in parallel.
parent 67e28112
Pipeline #1165 failed with stages
in 11 minutes and 19 seconds
......@@ -53,6 +53,13 @@ class TorController(
val isBootstrapped get() = isTorBootstrapped
init {
// Bug 40040: Hacky: Initialize TorService when we are instantiated. This should
// help avoid a race condition involving copying assets and starting tor in TorService.
val torServiceStatus = Intent(context,
fun start() {
// Register receiver
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment