GitHub    Download    Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup

UStorage.Close

Closes (unloads) a UObject. If you no longer need an object, you should close it with this function. The object may remain in the local cache for a while, but the pointer must no longer be used after calling this function.

Syntax

void Close(
UObject p_pObject
);

Parameter

p_pObject
Type: UObject
UObject to close (unload).

Return value

This function has no return value.

Remarks

You should never close an object that actions in an ActionGroup exist on. Always wait until execution of the ActionGroup has either finished, failed or has been aborted.
© 2022 Mobiland AG