vaadin4spring
vaadin4spring copied to clipboard
EventBusListenerMethod with subscribeWithWeakReference is not subscribed
This cannot work in ScopedEventBus line 220: MethodListenerWrapper is locally defined, so it will be garbage collected asap -> listener ignored.
MethodListenerWrapper l = new MethodListenerWrapper(ScopedEventBus.this, listener, topic,
includingPropagatingEvents, m);
if (weakReference) {
listeners.addWithWeakReference(l);