Yes. Never call os.Exit when you still has work to be done. Even defers are skipped.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/24325eb6-cde6-4c08-a4f6-5e9ba9ba90f4%40googlegroups.com.