Thread: [Solved] When are handles closed?
View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-12-2019 , 02:35   Re: When are handles closed?
Reply With Quote #9

For other readers:

The issue was that ArrayLists, when created with a size greater than 0 or resized to be larger than they were previously, do NOT have the new indexes initialized to 0.

https://sm.alliedmods.net/new-api/ad...List/ArrayList
Quote:
int startsize
Initial size of the array. Note that data will NOT be auto-initialized.
The error was caused by the plugin attempting to utilize garbage data as a Handle, which matches what asherkin said earlier:

Quote:
HandleError_Index is generally "that is not, and could not have been, a handle"
__________________

Last edited by ddhoward; 02-12-2019 at 02:35.
ddhoward is offline