Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Destroys the object's Lua reference. The object will be completely deleted if it's not referenced by any other LÖVE object or thread.
This method can be used to immediately clean up resources without waiting for Lua's garbage collector.
![]() |
After this method has been called, attempting to call any other method on the object or using the object as an argument in another LÖVE API will cause an error. |
success = Object:release( )
None.
boolean success