-
Hi! Notifications are implemented by Observables. Cool. Just to confirm: Unsubscribing from a Notification is only needed to cancel a subscription and prevent the Notification from opening, right? There is no case where a Notification leaks memory because it always completes (at least if the user clicks on close), right? Best regards, |
Beta Was this translation helpful? Give feedback.
Answered by
waterplea
Oct 29, 2021
Replies: 1 comment 2 replies
-
Completion = closed notification. You can unsubscribe to close it programatically and if user closes it or it autocloses by timeout — Observable completes. So yes, memory leaks are impossible. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
loxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Completion = closed notification. You can unsubscribe to close it programatically and if user closes it or it autocloses by timeout — Observable completes. So yes, memory leaks are impossible.