mirror of https://github.com/Shizmob/pydle.git
#78 Remove Problematic Segment
This segment was causing all sorts of "was not awaited" warnings, however removing it seems to have resolved these issues. I think it's an artefact from when Pydle was running its own event loop.
This commit is contained in:
parent
f57b592688
commit
6ec21f0167
|
@ -17,13 +17,6 @@ def with_client(*features, connected=True, **options):
|
|||
if connected:
|
||||
await client.connect("mock://local", 1337)
|
||||
|
||||
try:
|
||||
ret = f(client=client, server=server)
|
||||
return ret
|
||||
finally:
|
||||
if client.eventloop:
|
||||
client.eventloop.stop()
|
||||
|
||||
run.__name__ = f.__name__
|
||||
return run
|
||||
|
||||
|
|
Loading…
Reference in New Issue