From efa6bba19215f55f7b0d4e5593b5fc9770ca1f3d Mon Sep 17 00:00:00 2001 From: HaseenaSainul <41037131+HaseenaSainul@users.noreply.github.com> Date: Thu, 27 Jun 2024 20:05:49 +0530 Subject: [PATCH] OpenCDM: assert fix (#303) --- OpenCDMi/FrameworkRPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCDMi/FrameworkRPC.cpp b/OpenCDMi/FrameworkRPC.cpp index e31c0e3..4023744 100644 --- a/OpenCDMi/FrameworkRPC.cpp +++ b/OpenCDMi/FrameworkRPC.cpp @@ -1350,7 +1350,7 @@ POP_WARNING() _entryPoint = Core::ServiceType::Create(this, config.SharePath.Value(), config.ShareSize.Value()); ASSERT(_entryPoint != nullptr); _engine = Core::ProxyType::Create(&Core::IWorkerPool::Instance()); - ASSERT(_engine != nullptr); + ASSERT(_engine.IsValid() == true); _service = new ExternalAccess(Core::NodeId(config.Connector.Value().c_str()), _entryPoint, _shell->ProxyStubPath(), _engine); if (_service != nullptr) {