'Remove current thread from the dict of currently running threads.'

def __delete(self):

    try:
        with _active_limbo_lock:
            del _active[_get_ident()]
    except KeyError:
        if ('dummy_threading' not in _sys.modules):
            raise
