From 593b472e5015711755a9f739c4336b024743fdd4 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 24 Jul 2020 13:59:09 -0600 Subject: [PATCH] Ensure notification badges stop listening when they unmount --- src/components/views/rooms/NotificationBadge.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/views/rooms/NotificationBadge.tsx b/src/components/views/rooms/NotificationBadge.tsx index d215df9126..72408b9579 100644 --- a/src/components/views/rooms/NotificationBadge.tsx +++ b/src/components/views/rooms/NotificationBadge.tsx @@ -72,6 +72,9 @@ export default class NotificationBadge extends React.PureComponent) {