From c7716157f0d823a9daf6f1447e37488676c24f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Fri, 9 Aug 2024 13:48:02 +0200 Subject: [PATCH] maybe done --- worker/src/DepLibUring.cpp | 1 - worker/src/Worker.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/worker/src/DepLibUring.cpp b/worker/src/DepLibUring.cpp index d2a9ef533d..808391d83e 100644 --- a/worker/src/DepLibUring.cpp +++ b/worker/src/DepLibUring.cpp @@ -186,7 +186,6 @@ void DepLibUring::StartPollingCQEs() MS_ASSERT(DepLibUring::enabled, "DepLibUring::liburing not supported"); - DepLibUring::liburing->StartPollingCQEs(); } diff --git a/worker/src/Worker.cpp b/worker/src/Worker.cpp index a3372dfdfd..01c4d90429 100644 --- a/worker/src/Worker.cpp +++ b/worker/src/Worker.cpp @@ -156,7 +156,7 @@ flatbuffers::Offset Worker::FillBuffer( channelMessageHandlers #ifdef MS_LIBURING_SUPPORTED , - DepLibUring::FillBuffer(builder) + DepLibUring::IsEnabled() ? DepLibUring::FillBuffer(builder) : nullptr #endif ); }