remove unused import

Change-Id: I2337a3ba638f4718bfc71abedf3fae5ae0ebb189
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431641
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Jake Macdonald
2025-06-02 02:09:03 -07:00
committed by Commit Queue
parent ce6e9685df
commit c21beef54e
+12 -13
View File
@@ -7,7 +7,6 @@ import 'dart:convert';
import 'dart:ffi';
import 'dart:isolate';
import 'dart:io';
import 'dart:typed_data';
import 'package:ffi/ffi.dart';
@@ -72,18 +71,18 @@ ReceivePort httpServe(void Function(String) onRequest) {
rp.sendPort.send(s);
});
rp.listen(
(s) {
print('httpServe counter: $counter');
onRequest(s);
},
onError: (e, st) {
print('httpServe receiver get error $e $st');
},
onDone: () {
nativeHttpStopServing();
callback.close();
},
);
(s) {
print('httpServe counter: $counter');
onRequest(s);
},
onError: (e, st) {
print('httpServe receiver get error $e $st');
},
onDone: () {
nativeHttpStopServing();
callback.close();
},
);
// Invoke the native function to start the HTTP server. Our example
// HTTP library will start a server on a background thread, and pass