Added comment

This commit is contained in:
Alex Corn 2020-07-01 00:52:15 -04:00
parent 07fb26047b
commit 737aa9dc41
No known key found for this signature in database
GPG Key ID: E51989A3E7A27FDF

View File

@ -86,6 +86,8 @@ function CEconItem(item, description, contextID) {
this.actions = [];
}
// One wouldn't think that we need this if statement, but apparently v8 has a weird bug/quirk where deleting a
// property results in greatly increased memory usage. Because that makes sense.
if (this.currency) {
delete this.currency;
}