About destroying Array
For example i create an array like: g_aArray = ArrayCreate( 32, 1 )
it is necessary to destroy g_aArray in plugin_end to prevent memory leak, or the server is already destroy array like in Trie case (also see #78 post) ? |
Re: About destroying Array
You don't need to destroy dynamic arrays or tries, it is done internally.
|
Re: About destroying Array
Hmm .. for curiosity where can i found these ? in amxx source ?
Anyway thanks for reply, now it's ok. Thanks. |
Re: About destroying Array
meta_api.cpp
Code:
// Very first point at map loadCode:
for (unsigned int i=0; i<VectorHolder.size(); i++)Code:
g_TrieHandles.clear(); |
Re: About destroying Array
Thank you ! :mrgreen:
|
| All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.