From de4803590314bc57beee086baadcf2d018f925e9 Mon Sep 17 00:00:00 2001 From: Lcstyle Date: Wed, 5 Aug 2026 09:06:36 -0400 Subject: [PATCH] fix(electron): never let a failed graph save make the window unclosable If frontend.db/persist! rejects, electron.listener/persist-dbs! replies on the "persistent-dbs-error" channel. There was no handler for it, so three things went wrong at once and the app could not be closed again for the rest of the session: 1. electron.window/close-handler had already called (.preventDefault e) and then parked on a bare (async/