Backport changes affecting EventPipe from PR 45672 into C library. (#46220)
authorJohan Lorensson <lateralusx.github@gmail.com>
Thu, 7 Jan 2021 08:06:26 +0000 (09:06 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Jan 2021 08:06:26 +0000 (09:06 +0100)
src/native/eventpipe/ep-buffer-manager.c

index 625c719..9e67c71 100644 (file)
@@ -1014,10 +1014,6 @@ ep_buffer_manager_suspend_write_event (
                        EventPipeThread *thread = ep_thread_session_state_get_thread (ep_rt_thread_session_state_list_iterator_value (&thread_session_state_list_iterator));
                        ep_rt_thread_array_append (&thread_array, thread);
                        ep_rt_thread_session_state_list_iterator_next (&thread_session_state_list_iterator);
-
-                       // Once EventPipeSession::SuspendWriteEvent completes, we shouldn't have any
-                       // in progress writes left.
-                       EP_ASSERT (ep_thread_get_session_write_in_progress (thread) != session_index);
                }
        EP_SPIN_LOCK_EXIT (&buffer_manager->rt_lock, section1);