Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Race condition in transient bean resolution #449
Per @jcberquist on Slack:
I think that the way ioc.cfc uses an accumulatorCache that is stored in the variables scope can create a race condition in
I encountered this today with a transient bean (the app didn't get the right bean back and errored), and I am not sure if it could happen with singletons or not. But I saw it happen with the transients, and the above scenario is the only way (so far) I can see it happening.