Object:release (Español)

Available since LÖVE 11.0
This function is not supported in earlier versions.

Destruye la referencia al objeto. El objeto será eliminado completamente si no es referenciado por otro objeto o hilo de LÖVE.

Este método puede usarse para eliminar inmediatamente un recurso sin esperar al recolector de basura.

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