Skip to content

Commit e88731d

Browse files
author
Roberto De Ioris
authored
Merge pull request #199 from oliverzx/master
UE4 Editor shutdown crash fix
2 parents e590839 + 89c0267 commit e88731d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Source/PythonEditor/Private/PythonProjectEditor.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ struct FProjectViewSummoner : public FWorkflowTabFactory
102102
ViewMenuTooltip = LOCTEXT("ProjectTabMenu_ToolTip", "Shows the project panel");
103103
}
104104

105+
~FProjectViewSummoner()
106+
{
107+
MyPythonProjectEditor.Reset();
108+
}
109+
105110
virtual TSharedRef<SWidget> CreateTabBody(const FWorkflowTabSpawnInfo& Info) const override
106111
{
107112
TSharedPtr<FPythonProjectEditor> PythonEditorPtr = StaticCastSharedPtr<FPythonProjectEditor>(HostingApp.Pin());

0 commit comments

Comments
 (0)