models #13
@ -103,7 +103,7 @@ func (p *PolochonEventers) Unsubscribe(chanl *Channel) {
|
|||||||
|
|
||||||
if err := tn.Unsubscribe(chanl); err != nil {
|
if err := tn.Unsubscribe(chanl); err != nil {
|
||||||
p.log.Errorf("failed to unsubscribe eventer: %s", err.Error())
|
p.log.Errorf("failed to unsubscribe eventer: %s", err.Error())
|
||||||
return
|
// TODO: check if we need to return here
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(tn.Subscribers()) == 0 {
|
if len(tn.Subscribers()) == 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user