Profile: destory FastAverageColor instance
This commit is contained in:
parent
6e28d8808b
commit
6b889666ad
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ const Profile: Component = () => {
|
||||||
average: colors.hex,
|
average: colors.hex,
|
||||||
text: colors.isDark ? "white" : "black",
|
text: colors.isDark ? "white" : "black",
|
||||||
});
|
});
|
||||||
|
ins.destroy();
|
||||||
}}
|
}}
|
||||||
></img>
|
></img>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue