Quote:
So blocking the main thread is turning out to be an issue? Would a polling solution work where you set a low timeout on the wait and then come back after giving everything else a chance to run?


At the moment I have a deliberately high wait time of 60 seconds set, to make it easy to analyse the issues. I'll obviously set it much lower than that in production.

I'm going to try replacing my 60 second wait with multiple 100ms waits, to see if that helps.
_________________________
Remind me to change my signature to something more interesting someday