projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e85752b
)
Fix EventPipe shutdown logic (#86180)
author
David Mason
<davmason@microsoft.com>
Mon, 15 May 2023 18:05:49 +0000
(11:05 -0700)
committer
GitHub
<noreply@github.com>
Mon, 15 May 2023 18:05:49 +0000
(11:05 -0700)
src/native/eventpipe/ep-thread.c
patch
|
blob
|
history
diff --git
a/src/native/eventpipe/ep-thread.c
b/src/native/eventpipe/ep-thread.c
index
234b829
..
f728d86
100644
(file)
--- a/
src/native/eventpipe/ep-thread.c
+++ b/
src/native/eventpipe/ep-thread.c
@@
-178,7
+178,7
@@
ep_thread_get_threads (dn_vector_ptr_t *threads)
EP_ASSERT (threads != NULL);
EP_SPIN_LOCK_ENTER (&_ep_threads_lock, section1)
- DN_
VECTOR_PTR_FOREACH_BEGIN (EventPipeThread *, thread,
threads) {
+ DN_
LIST_FOREACH_BEGIN (EventPipeThread *, thread, _ep_
threads) {
if (thread) {
// Add ref so the thread doesn't disappear when we release the lock
ep_thread_addref (thread);