Files
UnrealEngineUWP/Engine/Source/Developer/TargetDeviceServices
johan torp f057c79303 Fixed intermittent launch failures when cook-on-the-fly is used.
A timeout deletes target devices if they fail to respond in 7.5s. The timeout logic was flawed and triggered when the device manager wasn't pumped for 7.5s - even though ping responses came in very quickly. The new logic clears the timeout on a ping response.

Note that there is still a >10s long editor freeze during which the network filesystem seems to clear its cache. There is LogNetworkPlatformFile log spam like below during the freeze:
  Deleting cached file: ... Module.RawInput.gen.cpp
  Deleting cached file: ... Module.RawInput.gen.cpp.obj
  Deleting cached file: ... Module.RawInput.gen.cpp.old
  Deleting cached file: ... Module.RawInput.gen.cpp.txt
  Deleting cached file: ... UE4Editor-RawInput.exp
  Deleting cached file: ... UE4Editor-RawInput.lib

Bonus drive-by changes: Fixed a  memory leak and aligned up some allocations.

#jira UE-78331
#rb graeme.thornton

(ushell-p4-cherrypick of 7840548 by Johan.Torp)

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: johan.torp
#ROBOMERGE-SOURCE: CL 7949261 in //UE4/Release-4.23/... via CL 7949262
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v398-8029740)

[CL 8035166 by johan torp in Dev-Build branch]
2019-08-14 12:10:22 -04:00
..