def stop(self):
with self._status_lock:<EOL><INDENT>if self._running:<EOL><INDENT>assert self._observer is not None<EOL>self._observer.stop()<EOL>self._running = False<EOL>self._origin_mapped_data = dict()<EOL><DEDENT><DEDENT>
Stops monitoring the predefined directory.