Skip to content

buffer: Ignore already invalidated buffers in Shared()#4133

Open
JoeKar wants to merge 1 commit into
micro-editor:masterfrom
JoeKar:fix/4131
Open

buffer: Ignore already invalidated buffers in Shared()#4133
JoeKar wants to merge 1 commit into
micro-editor:masterfrom
JoeKar:fix/4131

Conversation

@JoeKar

@JoeKar JoeKar commented Jun 29, 2026

Copy link
Copy Markdown
Member

CloseOpenBuffers() iterates over every open buffer and invalidates them,
while they are kept in the list.
A further de-reference of such a buffer leads to a nil access.

Fixes #4131

`CloseOpenBuffers()` iterates over every open buffer and invalidates them,
while they are kept in the list.
A further de-reference of such a buffer leads to a nil access.
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.

QuitAll crashes micro

1 participant