From 15f95c0d74dfa29b4498b3553a79e2ff4f3afea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Mon, 2 Mar 2020 13:09:13 +0100 Subject: [PATCH] Don't return when the unsubscribe fails This rollbacks the behaviour introduced in 09eb97b --- backend/events/polochons.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/events/polochons.go b/backend/events/polochons.go index 5014385..fb03f11 100644 --- a/backend/events/polochons.go +++ b/backend/events/polochons.go @@ -103,7 +103,7 @@ func (p *PolochonEventers) Unsubscribe(chanl *Channel) { if err := tn.Unsubscribe(chanl); err != nil { p.log.Errorf("failed to unsubscribe eventer: %s", err.Error()) - return + // TODO: check if we need to return here } if len(tn.Subscribers()) == 0 { -- 2.47.1