MCPcopy Index your code
hub / github.com/processing/processing / dispose

Method dispose

java/src/processing/mode/java/JavaEditor.java:1312–1325  ·  view source on GitHub ↗

Used instead of the windowClosing event handler, since it's not called on mode switch. Called when closing the editor window. Stops running debug sessions and kills the variable inspector window.

()

Source from the content-addressed store, hash-verified

1310 * sessions and kills the variable inspector window.
1311 */
1312 @Override
1313 public void dispose() {
1314 //System.out.println("window dispose");
1315 // quit running debug session
1316 if (debugEnabled) {
1317 debugger.stopDebug();
1318 }
1319 if (inspector != null) {
1320 inspector.dispose();
1321 }
1322 preprocessingService.dispose();
1323 pdex.dispose();
1324 super.dispose();
1325 }
1326
1327
1328 /**

Callers 5

actionPerformedMethod · 0.45
clearCurrentLineMethod · 0.45
valueChangedMethod · 0.45
windowLostFocusMethod · 0.45

Calls 1

stopDebugMethod · 0.80

Tested by

no test coverage detected