mirror of
https://github.com/restic/restic.git
synced 2026-05-02 17:15:22 +00:00
f84d398989
Calling t.Fatal internally triggers runtime.Goexit . This kills the current goroutine while only running deferred code. Add an extra context that gets canceled if the go routine exits while within the user provided callback.