Garbage Collection

From Director Online Wiki
Jump to: navigation, search

Description

You can always force garbage collection through a JavaScript method.

Director MX 2004, Director 11

Javascript

// JS movie script to force garbage collection
function runGC() {
   _system.gc();
}

Lingo

-- call the above JS method for garbage collection
runGC()