SteamBot icon indicating copy to clipboard operation
SteamBot copied to clipboard

Investigate if things are properly being cleaned up.

Open WildCard65 opened this issue 11 years ago • 2 comments

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+

WildCard65 avatar Oct 14 '14 14:10 WildCard65

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?

BlueRaja avatar Oct 14 '14 16:10 BlueRaja

Well program.cs sets a consolectrlhandler to handle something

WildCard65 avatar Oct 14 '14 16:10 WildCard65