Kolos65 / Mockable

A Swift macro driven auto-mocking library.
MIT License
199 stars 14 forks source link

fix: synchronize mutations in mocker #31

Closed Kolos65 closed 3 months ago

Kolos65 commented 3 months ago

This PR extends thread safety to all state mutations inside Mocker instances to avoid crashes due to race-conditions when using mocks in a highly concurrent environment (like in #30).