Files
UnrealEngineUWP/Engine/Source/Developer/TargetDeviceServices
johan torp 34437af335 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-SOURCE: CL 7949261 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v391-7919777)

[CL 7949262 by johan torp in Main branch]
2019-08-12 03:54:48 -04:00
..