TyphoonSwift icon indicating copy to clipboard operation
TyphoonSwift copied to clipboard

Race condition

Open xquezme opened this issue 8 years ago • 2 comments

Got Circular reference in initializers while building component while accessing assemblies in concurrent queue.

xquezme avatar Dec 14 '16 14:12 xquezme

Oops! I missed that issue. Yeah, I think we should synchronize all access methods with serial queue in ActivatedAssembly. TyphoonSwift is not threaded safe at the moment, but it's pretty easy to do.

alexgarbarev avatar Dec 30 '16 08:12 alexgarbarev

Can you please try to make synchrounious access to all public methods of ActivatedAssemblyContainer class? Something like that http://stackoverflow.com/a/24103086

I would love to merge Pull Request with that.

alexgarbarev avatar Dec 30 '16 08:12 alexgarbarev