Skip to content

Commit 87eea5f

Browse files
authored
[FIX] Fix I18n#destroy (playcanvas#2884)
1 parent e711559 commit 87eea5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/i18n/i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class I18n extends EventHandler {
264264
* @name I18n#destroy
265265
* @description Frees up memory.
266266
*/
267-
destroy = function () {
267+
destroy() {
268268
this._translations = null;
269269
this._availableLangs = null;
270270
this._assets = null;

0 commit comments

Comments
 (0)