Skip to content

Runtime and Shutdown

DaisyPlatform is the runtime owner for the DaisyCore systems you enabled in your plugin bootstrap.

Depending on your builder configuration, it may own:

  • the shared runtime
  • placeholder registry
  • command registry
  • menu runtime
  • sidebar runtime
  • tablist runtime

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.

  • your plugin owns DaisyPlatform
  • DaisyPlatform owns DaisyCore services
  • services own their sessions and runtime cleanup