mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-21 16:55:49 +00:00
winws2: set low mandatory if possible
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "lua.h"
|
||||
#include "params.h"
|
||||
#include "helpers.h"
|
||||
#include "conntrack.h"
|
||||
#include "crypto/sha.h"
|
||||
#include "crypto/aes-gcm.h"
|
||||
#include "crypto/aes-ctr.h"
|
||||
@@ -2244,6 +2245,8 @@ void lua_shutdown()
|
||||
if (params.L)
|
||||
{
|
||||
DLOG("LUA SHUTDOWN\n");
|
||||
// conntrack holds lua state. must clear it before lua shoudown
|
||||
ConntrackPoolDestroy(¶ms.conntrack);
|
||||
lua_close(params.L);
|
||||
params.L=NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user