destroyAll abstract method

void destroyAll()

Destroys every world this engine made in this process, whoever made it — for a hot restart, when the Dart objects that owned them are gone but native memory is not. A world still held reads as disposed.

Implementation

void destroyAll();