diff options
| author | Rapptz <[email protected]> | 2017-08-21 06:16:50 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-08-21 06:16:50 -0400 |
| commit | e5ebea75a985ef6dd02672e2406a847a3985cb86 (patch) | |
| tree | 42153499b58ae0a1b83b5686f59828fa79af0e77 /docs/make.bat | |
| parent | Game objects are really dumb. (diff) | |
| download | discord.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/make.bat')
0 files changed, 0 insertions, 0 deletions