mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
Other: Stop gRPC server on crash
This commit is contained in:
committed by
Leander Beernaert
parent
f954f89747
commit
6bd8c6ceb6
@ -34,6 +34,7 @@ import (
|
||||
|
||||
func WithVault(locations *locations.Locations, fn func(*vault.Vault, bool, bool) error) error {
|
||||
logrus.Debug("Creating vault")
|
||||
defer logrus.Debug("Vault stopped")
|
||||
|
||||
// Create the encVault.
|
||||
encVault, insecure, corrupt, err := newVault(locations)
|
||||
|
||||
Reference in New Issue
Block a user