We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm using a Raspberry Pi 2 with the raspbian jessie image. Processing and the G4P lib and gui builder are working very well but when I close a window by clicking the 'x' the task manager still shows a java thread and a thread with the name of the sketch still running. The java thread is also still consuming some CPU time. So, by using the exit() function what code should I be using to do a complete 'clean up' ??