release method
Releases the lock and closes its descriptor. Later calls do nothing.
Implementation
Future<void> release() async {
final handle = _handle;
_handle = null;
await handle?.close();
}
Releases the lock and closes its descriptor. Later calls do nothing.
Future<void> release() async {
final handle = _handle;
_handle = null;
await handle?.close();
}