web/application.py
changeset 9582 46ed25d38fe2
parent 9571 aaf83cc07eed
child 9659 c45073a96aee
--- a/web/application.py	Mon Mar 24 16:38:57 2014 +0100
+++ b/web/application.py	Mon Mar 24 11:57:23 2014 +0100
@@ -507,9 +507,6 @@
                     req.cnx.rollback()
                 except Exception:
                     pass # ignore rollback error at this point
-            # request may be referenced by "onetime callback", so clear its entity
-            # cache to avoid memory usage
-            req.drop_entity_cache()
         self.add_undo_link_to_msg(req)
         self.debug('query %s executed in %s sec', req.relative_path(), clock() - tstart)
         return result