MCPcopy Create free account
hub / github.com/benfry/processing4 / dispose

Method dispose

core/src/processing/core/PGraphics.java:787–792  ·  view source on GitHub ↗

Handle any shutdown for this graphics context. This is called when a sketch is shut down and this renderer was specified using the size() command, or inside endRecord() and endRaw(), in order to shut things off.

()

Source from the content-addressed store, hash-verified

785 * endRaw(), in order to shut things off.
786 */
787 public void dispose() { // ignore
788 if (primaryGraphics && asyncImageSaver != null) {
789 asyncImageSaver.dispose();
790 asyncImageSaver = null;
791 }
792 }
793
794
795 public PSurface createSurface() { // ignore

Callers 1

endRawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected