This patch makes document-related work and gateway startup more dependable, especially in packaged environments.
Improvements
- The gateway is less likely to fail while preparing document-processing capabilities.
- Document inspection follows a lighter, more stable path.
- Desktop releases can be published without the previous token-handling interruption.