Skip to content

Commit

Permalink
fixed bug in handling frame runners that had not completed
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Oct 24, 2024
1 parent ea2dbd1 commit 5308512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/GeoDataFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 5308512

Please sign in to comment.