diff --git a/app/lib/methods/subscriptions/room.js b/app/lib/methods/subscriptions/room.js index 06713647..ccf944f8 100644 --- a/app/lib/methods/subscriptions/room.js +++ b/app/lib/methods/subscriptions/room.js @@ -39,7 +39,7 @@ export default class RoomSubscription { if (this.promises) { try { const subscriptions = await this.promises || []; - subscriptions.map(sub => sub.unsubscribe()); + subscriptions.forEach(sub => sub.unsubscribe().catch(() => console.log('unsubscribeRoom'))); } catch (e) { // do nothing }