Fixed VS_OPEN logspam caused by a deferred command being constantly requested until VS had finished opening

TTP# 331398 - EDITOR: Logspam when opening Visual Studio

Deferring a VS file open request used to use a deferred command to wait until VS had finished opening before opening the requested files, however, this command was essentially simulating a Tick, as if the command was not yet ready to be processed it was simply deferred again, leading to spammed output.

Rather than do this, I've added a Tick function which will attempt to open the entire list of pending files as a single call, rather than try each file individually like the command would.

ReviewedBy Thomas.Sarkanen, Chris.Wood, Max.Preussner

[CL 2058815 by Jamie Dale in Main branch]
This commit is contained in:
Jamie Dale
2014-04-29 11:36:21 -04:00
committed by UnrealBot
parent d82e297fa7
commit a3928adc10
10 changed files with 45 additions and 70 deletions

View File

@@ -97,11 +97,6 @@ FDoneLaunchingCodeAccessor& FSourceCodeAccessModule::OnDoneLaunchingCodeAccessor
return DoneLaunchingCodeAccessorDelegate;
}
FLaunchCodeAccessorDeferred& FSourceCodeAccessModule::OnLaunchCodeAccessorDeferred()
{
return LaunchCodeAccessorDeferredDelegate;
}
FOpenFileFailed& FSourceCodeAccessModule::OnOpenFileFailed()
{
return OpenFileFailedDelegate;