Fix memory leak now that we can shutdown the stack
This commit is contained in:
parent
3e4dd23f90
commit
0b6205b9e7
|
@ -1063,6 +1063,9 @@ static int lble_shutdown(lua_State *L) {
|
||||||
|
|
||||||
nimble_port_deinit();
|
nimble_port_deinit();
|
||||||
|
|
||||||
|
free_gatt_svcs(L, gatt_svr_svcs);
|
||||||
|
gatt_svr_svcs = NULL;
|
||||||
|
|
||||||
inited = STOPPED;
|
inited = STOPPED;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue