You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by GitBox <gi...@apache.org> on 2022/03/22 17:02:47 UTC
[GitHub] [wicket] theigl commented on pull request #505: WICKET-6965 Memory leak in WicketEndpoint
theigl commented on pull request #505:
URL: https://github.com/apache/wicket/pull/505#issuecomment-1075387541
@martin-g: I just realized that this won't work. The `AtomicBoolean` would need to be static as well. Otherwise, only the very first endpoint that registered the listener will get the boolean set to `true`.
I think the best way would be to use a static `ConcurrentHashMap<String, AtomicBoolean>` and get the boolean from the map.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org