def free(self):
        if self._ptr is None:
            return
        Gauged.map_free(self.ptr)
        SparseMap.ALLOCATIONS -= 1
        self._ptr = None
Free the map
dataset/ETHPy150Open chriso/gauged/gauged/structures/sparse_map.py/SparseMap.free