Skip to content

Commit 972b407

Browse files
authored
Merge pull request #1490 from Unity-Technologies/fix-1349827
Clear all GC handle types in domain.
2 parents 2fb0286 + ba4d87d commit 972b407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/metadata/boehm-gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ mono_gchandle_free_domain (MonoDomain *domain)
19031903
{
19041904
guint type;
19051905

1906-
for (type = HANDLE_TYPE_MIN; type < HANDLE_PINNED; ++type) {
1906+
for (type = HANDLE_TYPE_MIN; type <= HANDLE_PINNED; ++type) {
19071907
guint slot;
19081908
HandleData *handles = &gc_handles [type];
19091909
lock_handles (handles);

0 commit comments

Comments
 (0)