Thread: [Solved] When are handles closed?
View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 02-10-2019 , 23:49   Re: When are handles closed?
Reply With Quote #4

Destructors are not called unless the handle is destroyed through the methods mentioned before; there's no RAII here (at this time).

The index error suggests your handle values aren't correct in some way; might want to debug print and make sure you're getting the same values that you're putting into your containers, and that those values do correspond to handles you've initialized.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline