Skip to content

grandi / destroy

Variable: destroy

const destroy: () => boolean = addon.destroy

Defined in: index.ts:217

Optionally shuts down the process-global NDI library. When managing the lifecycle explicitly, destroy all native objects before calling this.

Returns

boolean

True after requesting shutdown.

Example

js
import { destroy } from "grandi";
destroy();

Apache-2.0 licensed. NDI is a trademark of Vizrt NDI AB.