Skip to content

configure dependency on go-tree-sitter SetFinalizer calls may prevent gc #28

@jbedard

Description

@jbedard

The go 1.24 AddFinalizer may provide better performance and be more reliable.

Manually invoking tree.Close() might be worth ensuring cleanup is actually invoked since runtime.SetFinalizer seems to have many edge cases making it unreliable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions