Hi, Visionaire uses the lua_ref functions to keep all visionaire objects (conditions, values, scenes, objects,...) alive. So all visionaire objects are singletons and you don't need to worry about them. Even if you nil them. Except game propably.
Considering everything else, that all is handled by lua. So if you have local tables, they are collected when they go out of scope.