mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
remove the unnecessary App.ResetBootstrapState calls as sqlite connections will be closed anyway with the process termination
This commit is contained in:
1 parent
4c473385b2
commit
d86e20b7f2
2 files changed
-4
No files matched your search
@@ -168,8 +168,6 @@ 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