mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
Other: Stop gRPC server on crash
This commit is contained in:
committed by
Leander Beernaert
parent
f954f89747
commit
6bd8c6ceb6
@ -59,6 +59,7 @@ func withBridge( //nolint:funlen
|
||||
fn func(*bridge.Bridge, <-chan events.Event) error,
|
||||
) error {
|
||||
logrus.Debug("Creating bridge")
|
||||
defer logrus.Debug("Bridge stopped")
|
||||
|
||||
// Delete old go-imap cache files
|
||||
if deleteOldGoIMAPFiles {
|
||||
|
||||
Reference in New Issue
Block a user