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,
|
status: TorConnectionStatus.connected,
|
||||||
message: "TorService.start call success",
|
message: "TorService.start call success",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Complete the future.
|
||||||
|
return;
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
Logging.instance.log(
|
Logging.instance.log(
|
||||||
"TorService.start failed: $e\n$s",
|
"TorService.start failed: $e\n$s",
|
||||||
|
@ -110,6 +113,8 @@ class TorService {
|
||||||
status: TorConnectionStatus.disconnected,
|
status: TorConnectionStatus.disconnected,
|
||||||
message: "TorService.disable call success",
|
message: "TorService.disable call success",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _updateStatusAndFireEvent({
|
void _updateStatusAndFireEvent({
|
||||||
|
|
Loading…
Reference in a new issue