close LUA context to avoid memory leak on shutdown
This commit is contained in:
parent
a98e65aa1e
commit
410120adee
@ -319,6 +319,8 @@ int main(int argc, char *argv[])
|
|||||||
traffic_light_list.clear();
|
traffic_light_list.clear();
|
||||||
traffic_light_list.shrink_to_fit();
|
traffic_light_list.shrink_to_fit();
|
||||||
|
|
||||||
|
lua_close(lua_state);
|
||||||
|
|
||||||
unsigned number_of_edge_based_nodes = edge_based_graph_factor->GetNumberOfEdgeBasedNodes();
|
unsigned number_of_edge_based_nodes = edge_based_graph_factor->GetNumberOfEdgeBasedNodes();
|
||||||
BOOST_ASSERT(number_of_edge_based_nodes != std::numeric_limits<unsigned>::max());
|
BOOST_ASSERT(number_of_edge_based_nodes != std::numeric_limits<unsigned>::max());
|
||||||
DeallocatingVector<EdgeBasedEdge> edgeBasedEdgeList;
|
DeallocatingVector<EdgeBasedEdge> edgeBasedEdgeList;
|
||||||
|
Loading…
Reference in New Issue
Block a user