From d69636bf7b422afbedfca7c26ece8e8f46fa8cb5 Mon Sep 17 00:00:00 2001 From: Latent Prion Date: Thu, 6 Nov 2025 08:53:44 -0400 Subject: [PATCH] IoUringAssmEngn: destroy prev cb obj This should ensure that the sh_ptr from the prev object gets destroyed properly. --- stimBuffApis/livoxGen1/ioUringAssemblyEngine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stimBuffApis/livoxGen1/ioUringAssemblyEngine.cpp b/stimBuffApis/livoxGen1/ioUringAssemblyEngine.cpp index df5fade..f4305d8 100644 --- a/stimBuffApis/livoxGen1/ioUringAssemblyEngine.cpp +++ b/stimBuffApis/livoxGen1/ioUringAssemblyEngine.cpp @@ -286,6 +286,7 @@ void IoUringAssemblyEngine::stop(bool doAcquireLock) // Cancel in-flight stall timeout timer stallTimer.cancel(); + onCqeReadyCallback = std::move([](void *, int){}); if (isSetup) {