[nostalgia/studio] Fix memory leak of ProjectExplorer not getting freed

This commit is contained in:
2022-05-25 01:00:50 -05:00
parent c7af7bc54c
commit fd0d15b28e
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class StudioUI: public ox::SignalHandler {
ox::Vector<ox::UniquePtr<studio::BaseEditor>> m_editors;
ox::Vector<ox::UniquePtr<studio::Widget>> m_widgets;
ox::HashMap<ox::String, studio::EditorMaker::Func> m_editorMakers;
ProjectExplorer *m_projectExplorer = nullptr;
ox::UniquePtr<ProjectExplorer> m_projectExplorer;
ox::Vector<ox::String> m_openFiles;
studio::BaseEditor *m_activeEditor = nullptr;
studio::BaseEditor *m_activeEditorUpdatePending = nullptr;