Synced
AssetObject.OnUnloading
Section titled “AssetObject.OnUnloading”
- Releases the runtime resources owned by this asset without clearing its payload before quiescence.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”protected virtual void Inno.Assets.AssetObject.OnUnloading()Remarks
Section titled “Remarks”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.
Exceptions
Section titled “Exceptions”Exception T:Inno.Core.Execution.RetirementPendingException: Owned work has not quiesced; runtime payload and ownership must remain intact until a later attempt.