Don't return when the unsubscribe fails
This rollbacks the behaviour introduced in 09eb97b
This commit is contained in:
parent
1197e6ce6c
commit
15f95c0d74
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user