Skip to content

core: free allocated writes in read-only mode - #13574

Merged
mitchellh merged 1 commit into
ghostty-org:mainfrom
jparise:surface-readonly-free
Aug 3, 2026
Merged

mitchellh merged 1 commit into
ghostty-org:mainfrom
jparise:surface-readonly-free

Conversation

@jparise

@jparise jparise commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Read-only filtering happens in Surface.queueIo after callers construct the message. This early return leaked write_alloc payloads because the IO thread never receives them and therefore does not perform its normal cleanup.

Read-only filtering happens in Surface.queueIo after callers construct
the message. This early return leaked write_alloc payloads because the
IO thread never receives them and therefore does not perform its normal
cleanup.
@jparise
jparise requested a review from a team as a code owner August 3, 2026 15:42
@mitchellh
mitchellh enabled auto-merge August 3, 2026 15:44
@mitchellh
mitchellh merged commit 7d74809 into ghostty-org:main Aug 3, 2026
99 checks passed
@github-actions github-actions Bot added this to the 1.4.0 milestone Aug 3, 2026
@jparise
jparise deleted the surface-readonly-free branch August 3, 2026 16:25
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