Skip to content

Commit 13d5037

Browse files
authored
updates to be forward compatible with changes to package:shelf_web_socket (#3777)
1 parent f89332a commit 13d5037

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build_daemon/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 4.0.3-wip
22

33
- Bump the min sdk to 3.5.0.
4+
- Update to be forward compatible with changes to `package:shelf_web_socket`.
45

56
## 4.0.2
67

build_daemon/lib/src/server.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
4+
45
import 'dart:async';
56
import 'dart:convert';
67
import 'dart:io';
@@ -72,7 +73,7 @@ class Server {
7273

7374
/// Starts listening for build daemon clients.
7475
Future<int> listen() async {
75-
var handler = webSocketHandler((WebSocketChannel channel) async {
76+
var handler = webSocketHandler((WebSocketChannel channel, _) async {
7677
channel.stream.listen((message) async {
7778
dynamic request;
7879
try {

0 commit comments

Comments
 (0)