JamitLabs / JamitFoundation

JamitFoundation is a collection of useful concepts to enable composition oriented development with UIKit
MIT License
10 stars 5 forks source link

Fix crash when resuming already resumed dispatch queue #36

Closed fredpi closed 4 years ago

fredpi commented 4 years ago

This is a follow-up PR for #34. Unfortunately, the dispatch queue also makes the app crash wenn it gets resumed while not in suspended state...

This PR fixes this issue by introducing a resumed/suspended state check before resuming the queue.