Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Releases the runtime resources owned by this asset without clearing its payload before quiescence.

API: scripting
Project: Inno.Assets
Scope: Runtime

protected virtual void InnoEngine.Assets.AssetObject.OnUnloading()

An unfinished release may throw RetirementPendingException. The owner retains the asset and retries this hook; completed steps must not be repeated. Other failures are terminal and are reported by the owner.

Exception T:Inno.Core.Execution.RetirementPendingException: Owned work has not quiesced; runtime payload and ownership must remain intact until a later attempt.