diff --git a/source/event_loop.c b/source/event_loop.c index 606ee0688..ce6e5b995 100644 --- a/source/event_loop.c +++ b/source/event_loop.c @@ -482,14 +482,6 @@ size_t aws_event_loop_get_load_factor(struct aws_event_loop *event_loop) { return aws_atomic_load_int(&event_loop->current_load_factor); } -// As dispatch queue has ARC support, we could directly release the dispatch queue event loop. Disable the -// caller thread validation on dispatch queue. -#ifndef AWS_USE_DISPATCH_QUEUE -# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop) AWS_ASSERT(!aws_event_loop_thread_is_callers_thread(eventloop)); -#else -# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop) -#endif - void aws_event_loop_destroy(struct aws_event_loop *event_loop) { if (!event_loop) { return;