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

x/cav/deps.ts>graph.ModuleGraph#free

A server framework for Deno
Go to Latest
method graph.ModuleGraph.prototype.free
Re-export
import { graph } from "https://deno.land/x/cav@0.2.0-alpha.7/deps.ts";
const { ModuleGraph } = graph;

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.