def METHOD_NAME(self):
    assert not self.finished
    self.flushFakeLogfile()
    self.finished = True
    # notify subscribers *after* finishing the log
    self.subPoint.deliver(None, None)
    yield self.subPoint.waitForDeliveriesToFinish()
    self._had_errors = len(self.subPoint.pop_exceptions()) > 0
    # notify those waiting for finish
    for d in self._finish_waiters:
        d.callback(None)