def __release_location(self) -> None:
        """
        Releases the lock on the location used by this writer. Will do nothing if the lock is
        already released.
        """
        if self._is_active:
            LogdirWriter._locked_locations.remove(self._location)
            self._is_active = False
def __release_location ( self ) -> None : if self . _is_active : LogdirWriter . _locked_locations . remove ( self . _location ) self . _is_active = False
Releases the lock on the location used by this writer. Will do nothing if the lock is
        already released.