fix(plugins): close LA5 host lifecycle review
This commit is contained in:
parent
95f4be94db
commit
fbe9c8a288
25 changed files with 1043 additions and 120 deletions
|
|
@ -71,6 +71,7 @@ internal sealed record IngressShutdownRoots(
|
|||
RetailUiRuntimeLease RetailUi,
|
||||
// Keeps failed physical UI bindings alive through native-window release.
|
||||
UiHost? RetainedUiHost,
|
||||
IDisposable? Plugins,
|
||||
GameRuntime Runtime,
|
||||
DispatcherMovementInputSource MovementInput,
|
||||
DispatcherCameraInputSource CameraInput,
|
||||
|
|
@ -422,6 +423,10 @@ internal static class GameWindowShutdownManifest
|
|||
Soft("keyboard source", () => DisposeKeyboardSource(ingress.KeyboardSource)),
|
||||
Soft("native window callbacks", () => DisposeWindowCallbacks(ingress.WindowCallbacks)),
|
||||
]),
|
||||
new ResourceShutdownStage("plugin host",
|
||||
[
|
||||
Hard("plugins", () => ingress.Plugins?.Dispose()),
|
||||
]),
|
||||
new ResourceShutdownStage("frame borrowers",
|
||||
[
|
||||
Hard("world frame composition", () => frame.FrameGraphPublication?.Dispose()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue