# When Go programs end (Go Time #165)

> Episode of [Changelog Master Feed](https://podistic.com/podcast/changelog-master-feed.md) · Published February 4, 2021 · Duration 57:39

- **Listen on Podistic:** https://podistic.com/episode/when-go-programs-end-go-time-165
- **Audio:** https://op3.dev/e/https://pscrb.fm/rss/p/https://cdn.changelog.com/uploads/gotime/165/go-time-165.mp3 (audio/mpeg)

## About this episode

Michael Knyszek from the Go team joins us to talk about what happens when a program ends. How are file handles cleaned up? When are deferred functions run, and when are they skipped entirely? Is there a way to terminate all running goroutines? Tune in to learn the answers to these questions and more!
