You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
nDisplay: added critsection to fix LiveLinkVRPN crash
#jira UE-193244 #rb Simon.Therriault [CL 27925425 by Vitalii Boiko in 5.3 branch]
This commit is contained in:
@@ -302,6 +302,9 @@ uint32 FLiveLinkVRPNSource::Run()
|
||||
{
|
||||
if (VRPNDevice.RawPointer != nullptr)
|
||||
{
|
||||
static FCriticalSection VRPNDeviceCriticalSection;
|
||||
FScopeLock VRPNLock(&VRPNDeviceCriticalSection);
|
||||
|
||||
switch (DeviceType)
|
||||
{
|
||||
case EVRPNDeviceType::Analog: VRPNDevice.Analog->mainloop();
|
||||
|
||||
Reference in New Issue
Block a user