diff --git a/lib/ronin/cache/extension_cache.rb b/lib/ronin/cache/extension_cache.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/cache/extension_cache.rb
+++ b/lib/ronin/cache/extension_cache.rb
@@ -37,7 +37,7 @@ module Ronin
           hash[name] = load_extension(key.to_s)
         end
 
-        catch('EXIT') do
+        at_exit do
           each_extension { |ext| ext.perform_teardown }
         end
Use at_exit instead of catch.