From 470e545d2761b77f95147f61f633f4d629750ee7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 25 Oct 2025 21:28:49 +0900 Subject: internal/app/state: use internal/lockedfile This is a pretty solid implementation backed by robust tests, with a much cleaner interface. Signed-off-by: Ophestra --- internal/app/process.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'internal/app/process.go') diff --git a/internal/app/process.go b/internal/app/process.go index 8e18ae64..a0950c27 100644 --- a/internal/app/process.go +++ b/internal/app/process.go @@ -192,12 +192,6 @@ func (ms mainState) beforeExit(isFault bool) { } else if ms.uintptr&mainNeedsDestroy != 0 { panic("unreachable") } - - if ms.store != nil { - if err := ms.store.Close(); err != nil { - perror(err, "close state store") - } - } } // fatal calls printMessageError, performs necessary cleanup, followed by a call to [os.Exit](1). -- cgit v1.3.1