DesktopCdpTransport.collectGarbage method
DesktopCdpTransport › collectGarbage
Runs a full garbage collection in the renderer of the window showing the given vault, through CDPHeapProfiler.collectGarbage. The renderer has no gc() of its own unless launched with --expose-gc, and an attached Obsidian was launched by someone else.Signature:
collectGarbage(cwd: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| cwd | string | The vault whose window to collect in. |