Quote:
Originally Posted by friagram
Ongivenameditem doesnt close the handle automatically
Seems a lot of plugins do not close it either, you can just use a global variable, and use only this for all item creatin, and keep closing the handle every time you enter ogni... This may be your problem
|
Global or static variable... the only difference is that static isn't visible outside the function (or file if global) you declare it in.
Anyway, the static trick is what I do. I was hoping we'd eventually get a new flag for closing handles after it finishes processing.
__________________