Skip to content

Lox module should only be initialised if `shouldStartAndOwnTor` is true

Currently we always initialise the Lox.sys.mjs module. However, if shouldStartAndOwnTor is false, i.e. TorConnect.enabled is false, then we should not start the Lox module since it cannot be used as a source of bridges, and probably shouldn't be trying to run background tasks either.

/cc @pierov

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information