#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:
David Sangrey 2022-05-07 17:49:44 -04:00
parent f57b592688
commit 6ec21f0167
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
1 changed files with 0 additions and 7 deletions

View File

@ -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