sdk-dotnet icon indicating copy to clipboard operation
sdk-dotnet copied to clipboard

Stop freeing native resources in finalizers

Open cretz opened this issue 3 months ago • 0 comments

What was changed

Update interop byte array ref and scope to not free in finalizer, but rather in explicitly-invoked dispose only. See https://github.com/temporalio/sdk-dotnet/issues/577#issuecomment-3675108863.

Checklist

  1. Closes #577
  2. Closes #579

cretz avatar Dec 19 '25 16:12 cretz