dispose static method

Future<void> dispose()

Tears down the runtime: clears the module cache. After calling this, modules must be loaded again before use.

Implementation

static Future<void> dispose() async {
  _moduleCache.clear();
  _libRefCount.clear();
  _log(NitroLogLevel.verbose, 'dispose', 'done');
}