Fix deadlock issue when joining large guilds.

This commit is contained in:
Rapptz
2016-04-15 23:26:33 -04:00
parent cc23a54d58
commit 8d7dd79673
2 changed files with 13 additions and 7 deletions

View File

@ -378,8 +378,6 @@ class Client:
log.info('Unhandled event {}'.format(event))
else:
result = func(data)
if asyncio.iscoroutine(result):
yield from result
@asyncio.coroutine
def _make_websocket(self, initial=True):