closeConnection static method

void closeConnection()

Implementation

static void closeConnection() {
  handleResult(
    _bindings.dc_context_free(context.value),
    'context freeing',
  );
  _computerDescriptorCache.values.forEach(_bindings.dc_descriptor_free);
  _computerDescriptorCache.clear();
}