release method

void release()

Releases a JavaScript string.

Implementation

void release() {
  if (_pointer != nullptr) {
    JSStringRef.jSStringRelease(_pointer);
  }
}