Skip to content

fix: release Lua function registry references - #74

Closed
nkbeast wants to merge 2 commits into
doriaxengine:mainfrom
nkbeast:fix/unref-lua-function-registry-entry
Closed

fix: release Lua function registry references#74
nkbeast wants to merge 2 commits into
doriaxengine:mainfrom
nkbeast:fix/unref-lua-function-registry-entry

Conversation

@nkbeast

@nkbeast nkbeast commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • release Lua function registry references based on the owning state, not the current stack top
  • release the previous reference before copy assignment replaces it

Validation

  • source checks confirm both destruction and assignment unref the old registry entry
  • git diff --check — passed

@nkbeast nkbeast closed this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant