29.01.2015, 08:07
You forgot to "return 1;" inside that callback.
If it isn't there, the plugin won't know when the callback has finished executing (or when you're done reading the results) and the cache won't be cleared, resulting in memory-leaks.
If it isn't there, the plugin won't know when the callback has finished executing (or when you're done reading the results) and the cache won't be cleared, resulting in memory-leaks.