QuickBirdEng / XCoordinator

🎌 Powerful navigation library for iOS based on the coordinator pattern
MIT License
2.26k stars 177 forks source link

Crash when I try to dismiss PageViewController #163

Closed dlvovich closed 4 years ago

dlvovich commented 4 years ago

When PageViewController has no child controllers, everything is ok. But when it has them and I try to dismiss it, it causes a runtime error: "Thread 1: Simultaneous accesses to 0x6000015a8e28, but modification requires exclusive access".

How to fix it?

Here is a screenshot:

Screen 2020-03-02 23 48 02
pauljohanneskraft commented 4 years ago

Hey @Soloqub!

This sounds like a concurrency issue to me... Can you check whether you perform some other UI action in a non-main thread in parallel to this transition?

pauljohanneskraft commented 4 years ago

I'm closing this due to inactivity - as I have already written, it should be connected to come concurrency issue. If that is not the case, feel free to add additional comments or open additional issues.