projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[aot] Refactor the MONO_AOT_FILE_FLAG_DIRECT_METHOD_ADDRESSES code a bit.
[mono.git]
/
mono
/
metadata
/
mono-cq.c
diff --git
a/mono/metadata/mono-cq.c
b/mono/metadata/mono-cq.c
index c2bf26db944e5cc12f7f2d8d00108ab38ec16514..4be4640e97a6e62e0b9e072dfbc1057ab2be4b6e 100644
(file)
--- a/
mono/metadata/mono-cq.c
+++ b/
mono/metadata/mono-cq.c
@@
-188,6
+188,8
@@
mono_cq_remove_node (MonoCQ *cq)
while (old_head->next == NULL)
SleepEx (0, FALSE);
cq->head = old_head->next;
+
+ MONO_OBJECT_SETREF (old_head, next, NULL);
old_head = NULL;
}