mirror of https://github.com/nocturn9x/giambio.git
Added a TODO
This commit is contained in:
parent
91b2cfb9da
commit
513d825c2b
|
@ -53,7 +53,7 @@ class EventLoop:
|
|||
self.to_run.extend(self.joined.pop(self.running, ())) # Reschedules the parent task
|
||||
except CancelledError:
|
||||
self.running.cancelled = True # Update the coroutine status
|
||||
raise
|
||||
raise # TODO: Fix this, removing this raises RuntimeError: cannot reuse already awaited coroutine
|
||||
except Exception as has_raised:
|
||||
self.to_run.extend(self.joined.pop(self.running, ())) # Reschedules the parent task
|
||||
if self.running.joined: # Let the join function handle the hassle of propagating the error
|
||||
|
|
Loading…
Reference in New Issue