This commit is contained in:
Mirco Wittrien 2020-09-04 09:25:34 +02:00
parent 3de4979323
commit 92075cc0f5
2 changed files with 2 additions and 2 deletions

View File

@ -11254,7 +11254,7 @@
});
BDFDB.ModuleUtils.patch(BDFDB, InternalComponents.LibraryComponents.GuildComponents.BlobMask.prototype, "componentWillUnmount", {
after: e => {
for (let type of newBadges) if (e.thisObject.state[`${type}Mask`]) e.thisObject.state[`${type}Mask`].destroy();
for (let type of newBadges) if (e.thisObject.state[`${type}Mask`]) e.thisObject.state[`${type}Mask`].dispose();
}
});
BDFDB.ModuleUtils.patch(BDFDB, InternalComponents.LibraryComponents.GuildComponents.BlobMask.prototype, "componentDidUpdate", {

File diff suppressed because one or more lines are too long