close method

void close()

Closes the dynamic library.

Implementation

void close() {
  if (lib != null) {
    // Unloading the fbclient dynamic library disabled on non-Windows
    // systems (see issue 17: https://github.com/hipercompl/fbdb/issues/17).
    if (Platform.isWindows) {
      lib?.close();
    }
    lib = null;
  }
}