# File lib/mocha/mockery.rb, line 51 def teardown instance.teardown ensure @instances.pop @instances = nil if instances.empty? end