<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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