Thread: [Solved] When are handles closed?
View Single Post
NIGathan
Senior Member
Join Date: Aug 2011
Location: /dev/null
Old 02-10-2019 , 22:45   Re: When are handles closed?
Reply With Quote #3

That was my assumption, but perhaps ArrayList's or StringMap's destructors get called when they are out of scope?

Also it would take me quite a long time to reproduce in a small enough sample size to share... But I'll probably get to it eventually if I can't figure it out.

Edit 2: Well I went in and set all the temporary handles within local scopes to INVALID_HANDLE before leaving the scope and nothing has changed, so that takes that idea off the table...

Last edited by NIGathan; 02-10-2019 at 22:58.
NIGathan is offline