code: def clear_current() -> None:
          
          old = IOLoop.current(instance=False)
          if old is not None:
              old._clear_current_hook()
          if asyncio is None:
              IOLoop._current.instance = None
docs: Clears the `IOLoop` for the current thread.
  
          Intended primarily for use by test frameworks in between tests.
  
          .. versionchanged:: 5.0
             This method also clears the current `asyncio` event loop.