source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py [370:378]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            except (IOError, OSError):
                os.close(fd)
            else:
                self._lock_file_fd = fd
        return None

    def _release(self):
        fd = self._lock_file_fd
        self._lock_file_fd = None
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py [406:418]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        except (IOError, OSError):
            os.close(fd)
        else:
            self._lock_file_fd = fd
        return None

    def _release(self):
        # Do not remove the lockfile:
        #
        #   https://github.com/benediktschmitt/py-filelock/issues/31
        #   https://stackoverflow.com/questions/17708885/flock-removing-locked-file-without-race-condition
        fd = self._lock_file_fd
        self._lock_file_fd = None
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



