Skip to content

Commit

Permalink
fix(linux): Calling cancelSubscriptions() once in discoveries `clos…
Browse files Browse the repository at this point in the history
…e()`.

Fixed #110.
  • Loading branch information
Skyost committed Jan 11, 2025
1 parent 6362c17 commit e357501
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class AvahiBonsoirDiscovery extends AvahiBonsoirAction<BonsoirDiscoveryEvent> wi
for (AvahiRecordBrowser recordBrowser in _recordBrowsers) {
recordBrowser.callFree();
}
cancelSubscriptions();
onEvent(
const BonsoirDiscoveryEvent(type: BonsoirDiscoveryEventType.discoveryStopped),
parameters: [type],
Expand Down

0 comments on commit e357501

Please sign in to comment.