close method
Releases any lock descriptors or handles maintained by this strategy.
Implementation
@override
Future<void> close() async {
if (_closed) {
return;
}
_closed = true;
await _slot.releaseRef(() {
if (identical(_processLockRegistry[_lockPath], _slot)) {
_processLockRegistry.remove(_lockPath);
}
});
}