App shutdown with EXC_RESOURCE, WAKEUPS exception on iOS 8 GM

前端 未结 3 1768
醉话见心
醉话见心 2021-01-30 08:53

Does anyone know what this kind of exception is on iOS 8?

=== from crash report ===

Exception Type: EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Mes         


        
3条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 09:32

    Using Xamarin, we got this issue too. We were using 4 SemaphoreSlim that were waiting at the same time for a too long period of time. Replacing the SemaphoreSlim by an other primitive synchronization (AutoResetEvent in our case to simulate a Semaphore of 1 item) fixed the issue.

提交回复
热议问题