I'm developing a macOS FileProvider extension and:
- Run extension in Xcode
- Leave it for a few minutes (ie 2-3 minutes) and use some other app
- The extension receives SIGTERM pointing to mach_msg_trap() on main thread.
Is this expected or there is something in my code that is causing the crash. Inspecting all the other threads doesn't show anything meaningful.
What about in production? Would the macOS automatically kill the extension process if user is not using the FileProvider Extension.