Index: runtime/bin/vmservice/vmservice_io.dart |
diff --git a/runtime/bin/vmservice/vmservice_io.dart b/runtime/bin/vmservice/vmservice_io.dart |
index 680766a00825df177b6329a315b7cfd71b04b9f2..4e5ccabf2a75663afa54f3ba5bbaf5ac699cb7a9 100644 |
--- a/runtime/bin/vmservice/vmservice_io.dart |
+++ b/runtime/bin/vmservice/vmservice_io.dart |
@@ -22,6 +22,7 @@ bool _autoStart; |
// Should the HTTP server run in devmode? |
bool _originCheckDisabled; |
bool _isWindows = false; |
+bool _isFuchsia = false; |
var _signalWatch; |
var _signalSubscription; |
@@ -177,8 +178,8 @@ _registerSignalHandler() { |
// Cannot register for signals. |
return; |
} |
- if (_isWindows) { |
- // Cannot register for signals on Windows. |
+ if (_isWindows || _isFuchsia) { |
+ // Cannot register for signals on Windows or Fuchsia. |
return; |
} |
_signalSubscription = _signalWatch(ProcessSignal.SIGQUIT).listen(_onSignal); |