release: 1.1.1-hotfix. (#160)

* release: 1.1.1-hotfix.

* fix analyze for flutter 3.3.0
This commit is contained in:
CloudWebRTC
2022-09-07 10:16:41 +08:00
committed by GitHub
parent 82e8a9eedf
commit 7c01c115d8
4 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -134,13 +134,13 @@ abstract class EventsListenable<T> extends Disposable {
_listeners.add(listener);
// make a cancel func to cancel listening and remove from list in 1 call
_cancelFunc() async {
cancelFunc() async {
await listener.cancel();
_listeners.remove(listener);
logger.fine('${objectId} event was cancelled by func');
}
return _cancelFunc;
return cancelFunc;
}
// convenience method to listen & filter a specific event type