Smells like one of those many behaviors that is deliberately undocumented and could vary based on system conditions or across OS releases, so I’d be surprised if you get any specific official answer to this.
Is there a way the extension can detect its the same or a new process?
Your global countOfInvocations would restart at zero in a new process, right?
Topic:
App & System Services
SubTopic:
Core OS
Tags: