Skip to content

Commit 973c7fe

Browse files
committed
don't apply job to child processes
1 parent 3436527 commit 973c7fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FlashpointSecurePlayer/ProcessSync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public static void Start(Process process = null) {
115115
}
116116

117117
JOBOBJECT_BASIC_LIMIT_INFORMATION jobobjectBasicLimitInformation = new JOBOBJECT_BASIC_LIMIT_INFORMATION {
118-
LimitFlags = JOB_OBJECT_LIMITFlags.JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
118+
LimitFlags = JOB_OBJECT_LIMITFlags.JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE | JOB_OBJECT_LIMITFlags.JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK
119119
};
120120

121121
JOBOBJECT_EXTENDED_LIMIT_INFORMATION jobobjectExtendedLimitInformation = new JOBOBJECT_EXTENDED_LIMIT_INFORMATION {

0 commit comments

Comments
 (0)