From 530851258b0f6710d7ec51f07fd21ec92fa04b1b Mon Sep 17 00:00:00 2001 From: JP Swinski Date: Thu, 24 Oct 2024 14:29:18 +0000 Subject: [PATCH] fixed bug in handling frame runners that had not completed --- packages/core/GeoDataFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/GeoDataFrame.cpp b/packages/core/GeoDataFrame.cpp index 9f06cba6..cbe1ff13 100644 --- a/packages/core/GeoDataFrame.cpp +++ b/packages/core/GeoDataFrame.cpp @@ -338,7 +338,7 @@ GeoDataFrame::~GeoDataFrame(void) { GeoDataFrame::FrameRunner* runner; recv_status = subRunQ.receiveCopy(&runner, sizeof(runner), SYS_TIMEOUT); - if(recv_status > 0) runner->releaseLuaObject(); + if(recv_status > 0 && runner) runner->releaseLuaObject(); } }