Skip to content

Commit 6398b09

Browse files
authored
Merge pull request #1052 from Unity-Technologies/fix_memory_snapshot_compile_issue
Fix compilation error inside scripting_memory_capture logic
2 parents ecbd993 + 1c4da80 commit 6398b09

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mono/metadata/unity-memory-info.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,6 @@ static void CollectMonoImageFromAssembly(MonoAssembly *assembly, void *user_data
615615
MonoManagedMemorySnapshot* mono_unity_capture_memory_snapshot()
616616
{
617617
GC_disable();
618-
GC_wait_for_gc_completion(TRUE);
619-
620618
GC_stop_world_external();
621619

622620
MonoManagedMemorySnapshot* snapshot;

0 commit comments

Comments
 (0)