Skip to content

Fix file and logger reference ownership#113

Merged
tinysec merged 1 commit into
masterfrom
fix/file-logger-references
Jul 22, 2026
Merged

Fix file and logger reference ownership#113
tinysec merged 1 commit into
masterfrom
fix/file-logger-references

Conversation

@tinysec

@tinysec tinysec commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • stop FileMetadata.Dispose from implicitly closing the shared underlying file; explicit CloseFile retains that behavior
  • add independent native reference duplication for FileMetadata and Logger
  • mirror the official C++/Python refcount destruction semantics
  • validate sibling-reference survival through database navigation and real log output

Validation

  • dotnet build -c Release --no-restore (0 warnings)
  • targeted E2E: 2/2 passed
  • full external E2E: 238/238 passed

@tinysec
tinysec merged commit 92cb26d into master Jul 22, 2026
1 check passed
@tinysec
tinysec deleted the fix/file-logger-references branch July 22, 2026 20:13
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