someguy567 Posted November 15, 2018 Share Posted November 15, 2018 Is onExit() still called if I close the bot window without pressing the stop button? Quote Link to comment Share on other sites More sharing options...
dreameo Posted November 15, 2018 Share Posted November 15, 2018 Try writing a file to that resource folder onExit and see. Ima say no though? Quote Link to comment Share on other sites More sharing options...
Script Kid Posted November 15, 2018 Share Posted November 15, 2018 7 minutes ago, Alek said: It does not Does this happen because the JVM instance ends before that method is called? Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted November 15, 2018 Share Posted November 15, 2018 48 minutes ago, Script Kid said: Does this happen because the JVM instance ends before that method is called? I doubt it, I can't see there being a relation with closing the JVM and onExit being called. onExit is for when the script code exits 'naturally', i.e via use of the stop button. Quote Link to comment Share on other sites More sharing options...