aspect-cli icon indicating copy to clipboard operation
aspect-cli copied to clipboard

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

Open jbedard opened this issue 1 year ago • 0 comments

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.

jbedard avatar Feb 24 '25 21:02 jbedard