mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-08 15:41:18 +02:00
revert ResetBootstrapState removal on app termination since closing the db explicitly enforces checkout and clearing the side-car wal file
This commit is contained in:
@@ -169,6 +169,8 @@ func (pb *PocketBase) Execute() error {
|
||||
// trigger cleanups
|
||||
return pb.OnTerminate().Trigger(&core.TerminateEvent{
|
||||
App: pb,
|
||||
}, func(e *core.TerminateEvent) error {
|
||||
return e.App.ResetBootstrapState()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user