diff --git a/util/message_manager.go b/util/message_manager.go index 56fd03d..7520f41 100644 --- a/util/message_manager.go +++ b/util/message_manager.go @@ -52,7 +52,7 @@ func (mm MessageManager) ProcessMessage(inp string) bool { if consumed { // When a temp listener is consumed, we delete it fmt.Println("Consumed Event from Temporary Listener.") - mm.finishedTempListener = i + mm.RemoveTempListener(i) return true } }