mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 16:14:16 +08:00
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:
parent
7b8855a698
commit
0826e021e4
|
@ -38,6 +38,8 @@ export default {
|
|||
node[segs[segs.length - 1]] = value;
|
||||
}
|
||||
}
|
||||
|
||||
delete I18n._overrides;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user