diff --git a/lib/database_cleaner/generic/base.rb b/lib/database_cleaner/generic/base.rb
index <HASH>..<HASH> 100644
--- a/lib/database_cleaner/generic/base.rb
+++ b/lib/database_cleaner/generic/base.rb
@@ -11,9 +11,10 @@ module ::DatabaseCleaner
        end
 
        def cleaning(&block)
-         start
-         yield
-         clean
+            start
+            yield
+         ensure
+            clean
        end
 
        module ClassMethods
Adding 'ensure' to 'cleaning' method

Adding 'ensure' to 'cleaning' method for better error tolerance