Cancel times and write changes
(self)
| 468 | self.__flush(force=True) |
| 469 | |
| 470 | def close(self): |
| 471 | """Cancel times and write changes""" |
| 472 | with self._flush_lock: |
| 473 | if self._closed: |
| 474 | return |
| 475 | self._closed = True |
| 476 | atexit.unregister(self._atexit_close) |
| 477 | self.__cancel_flush_timer() |
| 478 | self.__flush(force=False) |
| 479 | |
| 480 | def set_hashpath(self, pathname, hashvalue): |
| 481 | """Remember the hash of a path""" |