Skip to content

fix: close db on shutdown - #667

Open
C4illin wants to merge 2 commits into
mainfrom
fix/close-db-on-shutdown
Open

C4illin wants to merge 2 commits into
mainfrom
fix/close-db-on-shutdown

Conversation

@C4illin

@C4illin C4illin commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Summary by cubic

Calls app.stop() before closing the database on shutdown signals, so the server finishes processing before the DB connection is closed. This lets the database shut down gracefully instead of being interrupted by process.exit().

Written for commit 96aba65. Summary will update on new commits.

View guided diff Turn on auto-fix

@github-actions github-actions Bot added the Fix label Oct 6, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread src/index.tsx Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant