Fix minor issue in ReactorMessageChannel

This commit is contained in:
Rossen Stoyanchev
2013-06-24 09:59:27 -04:00
parent 55a212d4a0
commit f7f66f2e5c

View File

@@ -104,7 +104,7 @@ public class ReactorMessageChannel implements SubscribableChannel<Message<?>, Me
logger.trace("Channel " + getName() + ", removing subscription for handler " + handler);
}
Registration<?> registration = this.registrations.get(handler);
Registration<?> registration = this.registrations.remove(handler);
if (registration == null) {
if (logger.isTraceEnabled()) {
logger.trace("Channel " + getName() + ", no subscription for handler " + handler);