hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 188 forks source link

Dead lock in 1.4.0 #95

Closed jeffery812 closed 3 years ago

jeffery812 commented 3 years ago

In Resolver 1.4.0, when I try to resolve a dependency, it get stuck at lock.lock(), it seems it get dead lock here. But it worked very well in 1.3.0. Please kindly have a look, thank you.

image

hmlongco commented 3 years ago

Actually, there were cases in 1.3 where it actually failed to lock when needed. 1.4 fixed that.

As to the deadlock, there's not enough information here for me to attempt to debug this. I suggest looking at the stack trace to see if you can determine where and under what circumstances you might be deadlocking.

hmlongco commented 3 years ago

No response so closing.