You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Disabled the editor device sharing between machines/copies of the editor, but only broadcasting the Ping message to the current Process (instead of Network). Doesn't remove any code complexity, but is a safe solution
#jira 97514 [CL 14181868 by Josh Adams in ue5-main branch]
This commit is contained in:
@@ -150,7 +150,8 @@ void FTargetDeviceProxyManager::SendPing()
|
||||
|
||||
// message is going to be deleted by FMemory::Free() (see FMessageContext destructor), so allocate it with Malloc
|
||||
void* Memory = FMemory::Malloc(sizeof(FTargetDeviceServicePing), alignof(FTargetDeviceServicePing));
|
||||
MessageEndpoint->Publish(new (Memory) FTargetDeviceServicePing(FPlatformProcess::UserName(false)), EMessageScope::Network);
|
||||
// send to only this process, as we no longer want to send out pings to the local network and get another machine's list of devices
|
||||
MessageEndpoint->Publish(new (Memory) FTargetDeviceServicePing(FPlatformProcess::UserName(false)), EMessageScope::Process);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user