Table of Contents

RequestShutdown Method

Requests shutdown from inside the process, releasing the thread blocked in WaitForShutdown.

Remarks

Use it when the application itself decides to stop -- an unrecoverable error in a worker thread, for example. Safe to call from any thread, and safe to call more than once. It does not depend on InstallShutdownHandlers having been called.

Syntax

Unit: Sparkle.Host.Shutdown

procedure RequestShutdown;