Open WildCard65 opened 9 years ago
File handlers etc. get closed automatically by the OS when a program exits. I didn't even realize it was possible for console programs to run code in response to the console closing. But even if it is, what code would we need to run?
Well program.cs sets a consolectrlhandler to handle something
I was running a test to see if anything gets called when a program exits using the method that steambot uses and by using the X button instead of Ctrl+