def close(self):
if not self.active:<EOL><INDENT>return<EOL><DEDENT>self.active = False<EOL>if self._file:<EOL><INDENT>self._file.close()<EOL>self._sincedb_update_position(force_update=True)<EOL><DEDENT>if self._current_event:<EOL><INDENT>event = '<STR_LIT:\n>'.join(self._current_event)<EOL>self._current_event.clear()<EOL>self._callback_wrapper([event])<EOL><DEDENT>
Closes all currently open file pointers