mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
resolve the futures
This commit is contained in:
parent
28b2f4f6b6
commit
b2203a6cc7
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,9 @@ class TorService {
|
|||
status: TorConnectionStatus.connected,
|
||||
message: "TorService.start call success",
|
||||
);
|
||||
|
||||
// Complete the future.
|
||||
return;
|
||||
} catch (e, s) {
|
||||
Logging.instance.log(
|
||||
"TorService.start failed: $e\n$s",
|
||||
|
@ -110,6 +113,8 @@ class TorService {
|
|||
status: TorConnectionStatus.disconnected,
|
||||
message: "TorService.disable call success",
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void _updateStatusAndFireEvent({
|
||||
|
|
Loading…
Reference in a new issue