close method

void close()

CommonDatabase.disposes the underlying rawDatabase backing the initial schema.

Not calling this method technically leaks resources, but rawDatabase is an in-memory database that also has finalizers closing it when it's not used anymore. Further, unit tests are typically short-lived processes, so forgetting to call close does not have terrible side-effects.

Implementation

void close() => rawDatabase.dispose();