code: def _notify_exit_thread(self, event):
          
          dwThreadId = event.get_tid()
  ##        if self.has_thread(dwThreadId):   # XXX this would trigger a scan
          if self._has_thread_id(dwThreadId):
              self._del_thread(dwThreadId)
          return True
docs: Notify the termination of a thread.
  
          This is done automatically by the L{Debug} class, you shouldn't need
          to call it yourself.
  
          @type  event: L{ExitThreadEvent}
          @param event: Exit thread event.
  
          @rtype:  bool
          @return: C{True} to call the user-defined handle, C{False} otherwise.