close method
Destroy the index and release native resources.
Implementation
Future<void> close() async {
if (_closed) return;
_closed = true;
if (identical(_active, this)) {
DartBridgeRAG.shared.destroyPipeline();
_active = null;
}
}
Destroy the index and release native resources.
Future<void> close() async {
if (_closed) return;
_closed = true;
if (identical(_active, this)) {
DartBridgeRAG.shared.destroyPipeline();
_active = null;
}
}