exit main app if daemon gets killed

This commit is contained in:
fuwa
2019-07-22 05:40:19 +08:00
parent a98912a03c
commit 79c163e88f
+3
View File
@@ -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);
}