Hi Julian,

can you try the attached patch applied to camping-trunk ?

-- 
Cheers,
  zimbatm
Index: lib/camping/session.rb
===================================================================
--- lib/camping/session.rb	(revision 218)
+++ lib/camping/session.rb	(working copy)
@@ -108,7 +108,8 @@
         app = self.class.name.gsub(/^(\w+)::.+$/, '\1')
         @state = (session[app] ||= Camping::H[])
         hash_before = Marshal.dump(@state).hash
-        s = super(*a)
+        return super(*a)
+    ensure
         if session
             hash_after = Marshal.dump(@state).hash
             unless hash_before == hash_after
@@ -116,7 +117,6 @@
                 session.save
             end
         end
-        s
     end
 end
 end
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to