additional improvement for  Bug 322928 -  per thread deactivation & activation fails to establish global activation
Don't rely on receiving notice from a dedicated main thread, just check which is the first.
1 file changed