someguy567 Posted November 15, 2018 Posted November 15, 2018 Is onExit() still called if I close the bot window without pressing the stop button?
dreameo Posted November 15, 2018 Posted November 15, 2018 Try writing a file to that resource folder onExit and see. Ima say no though?
Script Kid Posted November 15, 2018 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?
HeyImJamie Posted November 15, 2018 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.