hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.15k stars 190 forks source link

Bad address access when executing tests #139

Closed minuscorp closed 3 years ago

minuscorp commented 3 years ago

Hi, we actively use your library as our Dependency Injection solution, but we're facing a series of issues when we started to use it with Swift Package Manager. The code runs fine but the tests don't. They're tests that, for example, run perfectly in their original frameworks and were translated to work with SPM. But when running the whole test suite or certain tests individually the library crashes in a very (Swiftly talking) way, as it seems to be deallocating the Resolver instance while it is still running the test case or test suite. Screenshot 2021-11-16 at 14 39 28

image

Any clues about this @hmlongco?