PKIssuerProvisioningExtensionHandler process outlives root instance

I'm working on an "Issuer Provisioning" extension for iOS. Instances of my root PKIssuerProvisioningExtensionHandler subclass are initialised and reinitialised often (every time the user taps the "+" button in the Wallet app) and live for a few milliseconds. So far, so good.

The head-scratching part is that the extensions' process lives on across multiple invocations. This in turn has the effect that static member values also live on, meaning they are not in a predictable state during instantiation. Some of my static-loving dependencies are unhappy with this pattern.

Is this "process outliving instances" extension pattern a common one? Is it described anywhere? Can it be disabled?

Hello, did you manage to do this? Im on it right now, and Im baffled by lack of documentation, even the one sent by Apple.

PKIssuerProvisioningExtensionHandler process outlives root instance
 
 
Q