Episode #488: At Exit

How can you be sure a resource will be cleaned up, when you don't control how a program will exit? In this episode we'll examine Ruby's at_exit call for establishing exit handlers. In typical RubyTapas fashion, we'll look at practical applications, and go beyond the basics to answer questions about the behavior of at_exit in various scenarios.

This page is just for members. Sign in or subscribe to gain access!