Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.0.24/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.