shutdown method

Future<void> shutdown()

Shutdown the Oracle client

Implementation

Future<void> shutdown() async {
  await closeAllPools();

  if (_initialized && _memoryManager != null) {
    _memoryManager!.dispose();
    _memoryManager = null;
  }

  _dpiOracle = null;
  _contextPtr = null;
  _context = null;
  _initialized = false;
}