Skip to content

Commit

Permalink
flutter: bump to signal_slots 1.1.1
Browse files Browse the repository at this point in the history
we can disconnect signals now within the emittion
  • Loading branch information
iamsergio committed Dec 13, 2024
1 parent 3b88025 commit 9ab0b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/flutter/dart/lib/models/FloatingItem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ class FloatingItem implements ItemWithTitleBar {

@override
void close() {
if (!DockRegistry.instance.containsFloatingItem(this)) {
// we're closed already, can be removed once we can _groupCountChangedConnection.disconnect()
return;
}

// _groupCountChangedConnection.disconnect(); signals_slot bug
_groupCountChangedConnection.disconnect();
DockRegistry.instance.removeFloatingItem(this);
}
}
2 changes: 1 addition & 1 deletion src/flutter/dart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
meta:
flutter:
sdk: flutter
signals_slots: ^1.1.0
signals_slots: ^1.1.1

dev_dependencies:
lints: ^5.0.0
Expand Down

0 comments on commit 9ab0b78

Please sign in to comment.