We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46581e commit 38a3a5dCopy full SHA for 38a3a5d
bin/main.dart
@@ -56,7 +56,10 @@ Future<void> main(List<String> args) async {
56
57
// Listen for termination signals.
58
ProcessSignal.sigint.watch().listen((_) => shutdown('SIGINT'));
59
- ProcessSignal.sigterm.watch().listen((_) => shutdown('SIGTERM'));
+ // SIGTERM is not supported on Windows. Attempting to listen to it will throw.
60
+ if (!Platform.isWindows) {
61
+ ProcessSignal.sigterm.watch().listen((_) => shutdown('SIGTERM'));
62
+ }
63
64
try {
65
log.info('EAGER_INIT: Initializing application dependencies...');
0 commit comments