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..38b29166252caf49287d4f41d44c69fa1225cfeb 100644 |
--- a/runtime/bin/vmservice/vmservice_io.dart |
+++ b/runtime/bin/vmservice/vmservice_io.dart |
@@ -21,7 +21,7 @@ String _ip; |
bool _autoStart; |
// Should the HTTP server run in devmode? |
bool _originCheckDisabled; |
-bool _isWindows = false; |
+bool _hasSignals = true; |
Cutch
2016/07/21 20:24:51
This change is likely to break other embedders who
zra
2016/07/22 17:47:20
Restored _isWindows. Added _isFuchsia.
|
var _signalWatch; |
var _signalSubscription; |
@@ -177,8 +177,8 @@ _registerSignalHandler() { |
// Cannot register for signals. |
return; |
} |
- if (_isWindows) { |
- // Cannot register for signals on Windows. |
+ if (!_hasSignals) { |
+ // Cannot register for signals on Windows or Fuchsia. |
return; |
} |
_signalSubscription = _signalWatch(ProcessSignal.SIGQUIT).listen(_onSignal); |