deps: bump flutter from 3.24.5 to 3.32.8
CI / format (push) Has been cancelled
CI / test (push) Has been cancelled
CI / packaging (push) Has been cancelled

This commit is contained in:
Tien Do Nam
2025-08-14 17:41:54 +03:00
parent e4c9b0cd36
commit 8ee9b1bd13
23 changed files with 94 additions and 77 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ Stream<R> _sendTaskAndListenStream<R, T>({
data: task,
);
// ignore: unawaited_futures
// ignore: discarded_futures
Future.microtask(() {
connection.sendToIsolate(SendToIsolateData<IsolateTask<T>>(
syncState: null,
@@ -65,6 +65,7 @@ class MulticastService {
streamController.add(peer);
if ((dto.announcement == true || dto.announce == true) && syncState.serverRunning) {
// only respond when server is running
// ignore: discarded_futures
_answerAnnouncement(peer);
}
} catch (e) {
@@ -83,6 +84,7 @@ class MulticastService {
// ignore: unawaited_futures
_cancelCompleter.future.then((_) {
// ignore: discarded_futures
streamController.close();
for (final socket in sockets) {
socket.socket.close();
+1
View File
@@ -48,6 +48,7 @@ class TaskRunner<T> {
onFinish: () {
_runnerCount--;
if (_stopped || (_runnerCount == 0 && !_stayAlive)) {
// ignore: discarded_futures
_streamController.close();
onFinish?.call();
}