Difference between revisions of "Object:release (Italiano)"

(Created page with "{{newin (Italiano)|11.0|110|type=function}} Destroys the object's Lua reference. The object will be completely deleted if it's not referenced by any other LÖVE object or...")
 
Line 1: Line 1:
{{newin (Italiano)|[[11.0]]|110|type=function}}
+
{{newin (Italiano)|[[11.0]]|110|type=funzione}}
 
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.
 
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.
  

Revision as of 13:24, 15 March 2021

Disponibile da LÖVE 11.0
Questa/o funzione non è supportata/o nelle versioni precedenti.

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.

O.png 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.  


Function

Synopsis

success = Object:release( )

Arguments

None.

Returns

boolean success
True if the object was released by this call, false if it had been previously released.

See Also

Other Languages