Skip to content

Conversation

@alexghr
Copy link
Contributor

@alexghr alexghr commented Jan 16, 2026

Cleanup shm files before using them.

try {
unlinkSync(shmResponsePath);
} catch {
/* ignore */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if we should crash if the files exist but we can't delete them.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to crash early than inevitably later

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.

3 participants