You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code is not executing its defer function as log.Fatal calls syscall.Exit. This can prevent cleanup functions to run and could be unexpected to some developers.
package main
import (
"log"
)
funcmain() {
deferfunc() {
println("no worries I will help you, too bad this doesn't execute")
}()
log.Fatal("oh no I slipped")
}
The text was updated successfully, but these errors were encountered:
The following code is not executing its defer function as log.Fatal calls syscall.Exit. This can prevent cleanup functions to run and could be unexpected to some developers.
The text was updated successfully, but these errors were encountered: