Fixes crash when closing BP graph editor windows that haven't been moved or manipulated in certain ways

#jira UE-153271
#fyi jordan.hoffman
#rb none (trivial)
#preflight none (trivial)
#rnx

[CL 20293577 by justin hare in ue5-main branch]
This commit is contained in:
justin hare
2022-05-20 09:35:15 -04:00
parent 38c72b07e2
commit 3ffeff5ead

View File

@@ -816,7 +816,10 @@ EVisibility SGraphEditorImpl::PIENotification( ) const
SGraphEditorImpl::~SGraphEditorImpl()
{
UnRegisterActiveTimer(FocusEditorTimer.Pin().ToSharedRef());
if (FocusEditorTimer.IsValid())
{
UnRegisterActiveTimer(FocusEditorTimer.Pin().ToSharedRef());
}
}
void SGraphEditorImpl::Tick( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime )