release method
void
release()
Releases the lock if held. Safe to call more than once, and from a signal handler.
Implementation
void release() {
if (!_held) return;
_held = false;
try {
Directory(path).deleteSync();
} on FileSystemException {
// Already gone (removed by hand); nothing left to release.
}
}