diff --git a/main.go b/main.go index 56b0d17..fc142f7 100644 --- a/main.go +++ b/main.go @@ -194,6 +194,7 @@ func (s *ServiceInitializationInformation) AcceptMessage() InterServiceMessage { mutex.Lock() for id, msg := range buffer { _, ok := waitingList[id] + if !ok { delete(buffer, id) mutex.Unlock()