File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1007,9 +1007,14 @@ int Run(bool standaloneExe)
1007
1007
switch (WaitForMultipleObjects (2 , objects, FALSE , 120 * 1000 )) {
1008
1008
case WAIT_OBJECT_0:
1009
1009
// Interface state changed. Update pinholes immediately.
1010
+ ResetLogFile (standaloneExe);
1011
+ printf (" Woke up for network interface change\n " );
1010
1012
break ;
1011
1013
case WAIT_OBJECT_0 + 1 :
1012
1014
// GameStream state changed
1015
+ ResetLogFile (standaloneExe);
1016
+ printf (" Woke up for GameStream state change\n " );
1017
+
1013
1018
ResetEvent (gameStreamStateChangeEvent);
1014
1019
1015
1020
// Shutdown all relay sockets to trigger the relay threads to terminate.
@@ -1039,12 +1044,13 @@ int Run(bool standaloneExe)
1039
1044
break ;
1040
1045
case WAIT_TIMEOUT:
1041
1046
// Time to refresh the pinholes
1047
+ ResetLogFile (standaloneExe);
1048
+ printf (" Woke up on refresh timer\n " );
1042
1049
break ;
1043
1050
case WAIT_FAILED:
1044
1051
return -1 ;
1045
1052
}
1046
1053
1047
- ResetLogFile (standaloneExe);
1048
1054
}
1049
1055
1050
1056
return 0 ;
You can’t perform that action at this time.
0 commit comments