megaplot icon indicating copy to clipboard operation
megaplot copied to clipboard

Implement destroy method for Scene

Open jimbojw opened this issue 3 years ago • 0 comments

Megaplot API users may wish to explicitly release all runtime memory and WebGL resources used by a Scene. To support this, the Scene should have a destroy() method which systematically releases all resources used by the Scene.

Once a Scene has been destroyed, any other API interaction with the Scene or its generated objects (such as Selections) should throw an error.

jimbojw avatar Sep 01 '22 11:09 jimbojw