summaryrefslogtreecommitdiffstats
path: root/editor/editor_translation_parser.h
diff options
context:
space:
mode:
authorSkyJJ <jjchai01@hotmail.com>2020-07-27 16:58:21 +0200
committerSkyJJ <jjchai01@hotmail.com>2020-07-27 17:02:53 +0200
commit0e54ba0486e65af74f8b7729b09e42de5495d8ec (patch)
tree095c1bec4700d27ba8fe7be8037c5cca871a972c /editor/editor_translation_parser.h
parent09a2b77b2dba0fe129cfe0ab36f842ff8b528f2d (diff)
downloadredot-engine-0e54ba0486e65af74f8b7729b09e42de5495d8ec.tar.gz
Fix EditorTranslationParser leak
Diffstat (limited to 'editor/editor_translation_parser.h')
-rw-r--r--editor/editor_translation_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_translation_parser.h b/editor/editor_translation_parser.h
index 6d00bedfa4..fb8aa6ec9b 100644
--- a/editor/editor_translation_parser.h
+++ b/editor/editor_translation_parser.h
@@ -64,6 +64,7 @@ public:
Ref<EditorTranslationParserPlugin> get_parser(const String &p_extension) const;
void add_parser(const Ref<EditorTranslationParserPlugin> &p_parser, ParserType p_type);
void remove_parser(const Ref<EditorTranslationParserPlugin> &p_parser, ParserType p_type);
+ void clean_parsers();
EditorTranslationParser();
~EditorTranslationParser();