Protools setStateInfo + MML deadlock

Woah!! Indeed it does.

So I guess I had better not use Thread::getCurrentThread() anywhere within plugins if they will be AAX then eh?

I see it gets a thread fine if it happens to be run from the message thread, but not from the others apparently?