aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bridge_pull.go')
-rw-r--r--commands/bridge_pull.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go
index a90a533f..f7e2acf0 100644
--- a/commands/bridge_pull.go
+++ b/commands/bridge_pull.go
@@ -4,6 +4,7 @@ import (
"github.com/MichaelMure/git-bug/bridge"
"github.com/MichaelMure/git-bug/bridge/core"
"github.com/MichaelMure/git-bug/cache"
+ "github.com/MichaelMure/git-bug/cleaner"
"github.com/spf13/cobra"
)
@@ -13,6 +14,7 @@ func runBridgePull(cmd *cobra.Command, args []string) error {
return err
}
defer backend.Close()
+ cleaner.Register(backend.Close)
var b *core.Bridge