jsedding commented on code in PR #100:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/100#discussion_r1317054545
##########
src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java:
##########
@@ -490,69 +555,26 @@ protected void deactivate() {
private void unregisterFactory() {
FactoryRegistration local = null;
synchronized ( this ) {
Review Comment:
We could probably get rid of the synchronization. `factoryRegistration`
should only ever get set via the `factoryRegistrationWorker` thread and is this
guaranteed not to be concurrent.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]