dispose method

void dispose()

Releases the native context without producing final output.

Implementation

void dispose() {
  if (_finished) return;
  _finished = true;
  _finalizer.detach(this);
  ssl.EVP_CIPHER_CTX_free(_ctx);
  _ctx = nullptr;
}