Adding __gc metamethod to context

lua-zmq
Joshua Simmons 16 years ago committed by Aleksey Yeschenko
parent dd2f0df539
commit c47515af0f

@ -304,6 +304,7 @@ static const luaL_reg zmqlib[] = {
};
static const luaL_reg ctxmethods[] = {
{"__gc", Lzmq_term},
{"term", Lzmq_term},
{"socket", Lzmq_socket},
{NULL, NULL}

Loading…
Cancel
Save