Skip to content

Add flush and finalize to JSON handler#429

Closed
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-12-json-handler-lifecycle
Closed

Add flush and finalize to JSON handler#429
neidiom wants to merge 1 commit intoitamae-kitchen:masterfrom
neidiom:fix/issue-12-json-handler-lifecycle

Conversation

@neidiom
Copy link
Contributor

@neidiom neidiom commented Mar 4, 2026

Events are now flushed after each write to prevent data loss on crash. Added finalize method to properly close the file handle. Also replaced Kernel#open with File.open.

Events are now flushed after each write to prevent data loss on
crash. Added finalize method to properly close the file handle.
Also replaced Kernel#open with File.open.
@unasuke
Copy link
Member

unasuke commented Mar 4, 2026

#430 (comment)

@unasuke unasuke closed this Mar 4, 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.

2 participants