Runtime and Shutdown
Runtime and Shutdown
Section titled “Runtime and Shutdown”DaisyPlatform is the runtime owner for the DaisyCore systems you enabled in your plugin bootstrap.
What DaisyPlatform owns
Section titled “What DaisyPlatform owns”Depending on your builder configuration, it may own:
- the shared runtime
- placeholder registry
- command registry
- menu runtime
- sidebar runtime
- tablist runtime
Why close() matters
Section titled “Why close() matters”Closing DaisyPlatform is how DaisyCore cleans up sessions, runtime handles, and service state during plugin shutdown.
If you skip that step, you are no longer letting the library own its lifecycle cleanly.
Mental model
Section titled “Mental model”- your plugin owns
DaisyPlatform DaisyPlatformowns DaisyCore services- services own their sessions and runtime cleanup