mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
exit main app if daemon gets killed
This commit is contained in:
@@ -62,4 +62,7 @@ Stream<String> runBinary (String name) async* {
|
||||
await for (var line in outputProcess.stdout.transform(utf8.decoder)) {
|
||||
yield line;
|
||||
}
|
||||
|
||||
// the app should never reach here
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user