PERF: Delete I18n._overrides after they have been applied (#28405)

There's no need to keep them around. This might just bloat memory if there are lots of translation overrides.
This commit is contained in:
Gerhard Schlager 2024-08-19 14:11:04 +02:00 committed by GitHub
parent 7b8855a698
commit 0826e021e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,6 +38,8 @@ export default {
node[segs[segs.length - 1]] = value;
}
}
delete I18n._overrides;
}
},
};