$disconnect method

Future<void> $disconnect()

Disconnect from the prisma engine.

Implementation

Future<void> $disconnect() async {
  if (_transaction != null) {
    return;
  }

  await _engine.stop();
  finalizer.detach(this);
}