Switch back to "RemoveTempListener" call
This commit is contained in:
parent
581dc01338
commit
5e2e0bdcaa
@ -52,7 +52,7 @@ func (mm MessageManager) ProcessMessage(inp string) bool {
|
|||||||
if consumed {
|
if consumed {
|
||||||
// When a temp listener is consumed, we delete it
|
// When a temp listener is consumed, we delete it
|
||||||
fmt.Println("Consumed Event from Temporary Listener.")
|
fmt.Println("Consumed Event from Temporary Listener.")
|
||||||
mm.finishedTempListener = i
|
mm.RemoveTempListener(i)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user