Release Library Resources
Overview
Releases the files and memory resources occupied by the ComPDF Conversion SDK.
Notice
After calling this interface to release library resources, the ComPDF Conversion SDK will no longer function properly and must be reloaded.
If you only want to release resources occupied by the AI model rather than all SDK resources, call
LibraryManager::releaseDocumentAIModel()instead. AI features become unavailable untilLibraryManager::setDocumentAIModel()is called again.
Sample
php
// Release only the DocumentAI model (keep the rest of the SDK alive).
LibraryManager::releaseDocumentAIModel();
// Release all library resources.
LibraryManager::release();