Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_graph/lib/types.d.ts>ModuleGraph#free

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.free
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.37.1/lib/types.d.ts";

Explicitly free the memory used by the module graph. The web assembly bindings does use weak references, meaning that the memory should be automatically garbage collected when the graph falls out of use.