async init not required
This commit is contained in:
@@ -99,7 +99,7 @@ class Tor {
|
||||
/// Returns a Future that completes when the Tor service has started.
|
||||
///
|
||||
/// Throws an exception if the Tor service fails to start.
|
||||
static Future<Tor> init({bool enabled = true}) async {
|
||||
static Tor init({bool enabled = true}) {
|
||||
final singleton = Tor._instance;
|
||||
singleton._enabled = enabled;
|
||||
return singleton;
|
||||
|
||||
Reference in New Issue
Block a user