dispose notif handler
This commit is contained in:
parent
f2efbbeb9f
commit
a90bf00f18
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ class NotificationController
|
|||
);
|
||||
}
|
||||
});
|
||||
|
||||
ref.onDispose(() => notificationChannel.setMethodCallHandler(null));
|
||||
}
|
||||
|
||||
return notifications;
|
||||
|
|
|
|||
Loading…
Reference in a new issue