aboutsummaryrefslogtreecommitdiff
path: root/docs/quickstart.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-08-21 06:16:50 -0400
committerRapptz <[email protected]>2017-08-21 06:16:50 -0400
commite5ebea75a985ef6dd02672e2406a847a3985cb86 (patch)
tree42153499b58ae0a1b83b5686f59828fa79af0e77 /docs/quickstart.rst
parentGame objects are really dumb. (diff)
downloaddiscord.py-e5ebea75a985ef6dd02672e2406a847a3985cb86.tar.xz
discord.py-e5ebea75a985ef6dd02672e2406a847a3985cb86.zip
Lazily fetch Emoji.roles and Emoji.guild to prevent memory leaks.
The global emoji cache still managed to somehow cause memory leaks. By storing IDs directly and lazily evaluating them when needed this essentially removes all strong references to Guild objects which would cause an explosion in memory usage.
Diffstat (limited to 'docs/quickstart.rst')
0 files changed, 0 insertions, 0 deletions