mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Fixed the LUA_GCCOLLECT define.
This commit is contained in:
@@ -501,7 +501,7 @@ int process_mainloop(lua_State *L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Run the garbage collecter. FIXME: This can error in a __gc metamethod
|
// Run the garbage collecter. FIXME: This can error in a __gc metamethod
|
||||||
lua_gc(L, LUA_GC_COLLECT, 0);
|
lua_gc(L, LUA_GCCOLLECT, 0);
|
||||||
|
|
||||||
while (!running_scripts.empty()) {
|
while (!running_scripts.empty()) {
|
||||||
current = *(running_scripts.begin());
|
current = *(running_scripts.begin());
|
||||||
|
|||||||
Reference in New Issue
Block a user