<< Click to Display Table of Contents >> Navigation: NxLib API > C Interface > Other > NxLib > nxLibFinalize |
Explicitly closes the library, terminating all internal threads and freeing allocated memory. It is important to explicitly call nxLibFinalize before unloading the NxLib library when your process is not terminating afterwards, because Windows doesn't allow to cleanly exit threads during DLL unload.
Variants throwing exceptions on errors:
static void nxLibFinalize()
Variants returning error codes in an int* parameter:
void nxLibFinalize(NXLIBERR* result)
result |
The error code of the operation. |
none
Note: After closing the library with nxLibFinalize, it will no longer be automatically initialized when you attempt to access the tree.You can call nxLibInitialize to explicitly initialize the library again.