Index: sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart b/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
index ff6bb910a14ca325b0c0b3a5e13ad9e3945e7c51..7722b942a6ce3aef0a549e6ed6f555c38a25262f 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
@@ -40,7 +40,9 @@ class WebSocketApi { |
/// |
/// This takes no arguments and returns no results. It can safely be called |
/// as a JSON-RPC notification. |
- _server.registerMethod("exitOnClose", () => _exitOnClose = true); |
+ _server.registerMethod("exitOnClose", () { |
+ _exitOnClose = true; |
+ }); |
} |
/// Listens on the socket. |