Closing child processes with start button

Hey guys, I'm trying to develop a library that lets Processing sketches be displayed on large multi-tiled displays. I am a point right now where I am trying to figure out how to close all sketches whenever the stop button is pressed by the PDE. I was looking at the source code a bit and tried googling around but couldn't find any sort of method that is invoked whenever the stop button is pressed. I was wondering if someone could point me to what function(s) is/are possibly called whenever the stop button is pressed, as I would like to close off the rest of the sketches that are staying open for some reason.

Thanks!

Sign In or Register to comment.