This commit is contained in:
Ming Ming 2022-03-28 01:55:56 +08:00
parent b00ec570f6
commit 68fcba6f54

View file

@ -15,7 +15,7 @@ class AppEventListener<T> {
void begin() {
if (_subscription != null) {
_log.warning("[beginListenEvent] Already listening");
_log.warning("[begin] Already listening");
return;
}
_subscription = _stream.listen(_listener);
@ -23,7 +23,7 @@ class AppEventListener<T> {
void end() {
if (_subscription == null) {
_log.warning("[endListenEvent] Already not listening");
_log.warning("[end] Already not listening");
return;
}
_subscription?.cancel();