lib/reactor.rb in reactor-0.12.1 vs lib/reactor.rb in reactor-0.12.2
- old
+ new
@@ -40,9 +40,10 @@
end
def self.with_subscriber_enabled(klass)
enable_test_mode_subscriber klass
yield if block_given?
+ ensure
disable_test_mode_subscriber klass
end
end
# Temporarily avoid Rails 4.2.0 deprecation warning