Skip to content

Commit c1c14b4

Browse files
authored
Merge pull request #2187 from Unity-Technologies/port/unity-6000.0-mbe/bugfix/uum-101541-expanded
Protect calls to fork with a gc_lock on all MacOS variations
2 parents 05e5263 + b7664c7 commit c1c14b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/metadata/w32process-unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ process_create (const gunichar2 *appname, const gunichar2 *cmdline,
18581858
mono_trace (G_LOG_LEVEL_DEBUG, MONO_TRACE_IO_LAYER_PROCESS, "%s: new process startup not synchronized. We may not notice if the newly created process exits immediately.", __func__);
18591859
}
18601860

1861-
#if defined(HOST_DARWIN) && defined(TARGET_AMD64)
1861+
#if defined(HOST_DARWIN)
18621862
mono_gc_invoke_with_gc_lock(fork_helper, &pid);
18631863
#else
18641864
pid = fork();

0 commit comments

Comments
 (0)