Table of Contents

Property ShutdownOnStopping

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

ShutdownOnStopping

Dispose the OgaHandle - which calls OgaShutdown() - when sub-project 1's lifecycle hub raises Stopping. Default true.

Safe since GenAI 0.15.0, which re-initialises transparently on the next call, and proved on this box rather than trusted: a handle was created, disposed, and a second one created afterwards without error. ORT's own OrtEnv is not disposed - it is a process-wide singleton with a one-shot options hook, and tearing it down would silently break a second Edge host in the same process.

public bool ShutdownOnStopping { get; set; }

Property Value

bool