def __del__(self):
        # NOTE: only consistent in PY2
        self.release()
Write pending changes if required and release locks
dataset/ETHPy150Open gitpython-developers/GitPython/git/config.py/GitConfigParser.__del__