PApplet exit function
              in 
             Core Library Questions 
              •  
              2 years ago    
            
 
           
             hey everyone,
            
            
how is it possible to run some code when the user closes the program.
i use processing in eclipse but i haven't found the onExit method or something that processing had some versions ago or anything in the superclasses of it to add a listener or something.
regards,
ramin
 
           
 
            
           how is it possible to run some code when the user closes the program.
i use processing in eclipse but i haven't found the onExit method or something that processing had some versions ago or anything in the superclasses of it to add a listener or something.
regards,
ramin
 
              
              1  
            
 
            
 
 
          