Skip to content

Support __gc metamethod in Lua #5770

@Gerold103

Description

@Gerold103

Lua 5.2 supports having __gc metamethod to execute some code when the object is being garbage collected. Currently in Tarantool we need to do ugly hacks with FFI or newproxy() function to do it. One example is how it is used in netbox. Would be cool a proper __gc feature on board.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions