free method

void free()

Releases the native memory allocated to the HString.

Implementation

void free() {
  _finalizer.detach(this);
  WindowsDeleteString(handle);
}