If you update the application icon too frequently (more than 100hz between just two changes, not necessarily a sustained rate) you run the risk of deadlocking the app.
The solution is to place all of the change icon requests in a single threaded queue so the previous requests will end before the next request starts.
If you update the application icon too frequently (more than 100hz between just two changes, not necessarily a sustained rate) you run the risk of deadlocking the app.
The solution is to place all of the change icon requests in a single threaded queue so the previous requests will end before the next request starts.