release method
void
release()
Gives back one open. After the last, the memory is gone: views of it, and GPU buffers wrapping it, must not outlive it.
Implementation
void release() {
if (_opens == 0) throw StateError('$_path is not mapped');
if (--_opens > 0) return;
_mapped.remove(_path);
_unmapFile(address.cast(), length);
}