[luabind] Forced garbage collection
Brought to you by:
arvidn,
daniel_wallin
From: Tom S. <to...@si...> - 2003-04-22 07:27:01
|
Would there be a way to have luabind force the garbage collection of a bound object. I have the code.... self.my_object = nil collectgarbage() The assignment to nil does not delete the object, so a collectgarbage() call is necessary to force the delete. This is fairly common for lua, but i was wondering if a policy could be added which forces the GC of the object on nil assignment? Tom |