close method
Free memory allocated natively.
Implementation
void close() {
if (pLLm != nullptr) {
if (pLLm.value != nullptr) {
dllHandle.ailiaLLMDestroy(pLLm.value);
pLLm.value = nullptr;
}
malloc.free(pLLm);
pLLm = nullptr;
}
}