grandi / destroy
Variable: destroy
constdestroy: () =>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();