summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-06-13 15:22:12 +0200
committerChristophe Simonis <chs@odoo.com>2018-06-14 17:17:13 +0200
commit5233dbdb54ac03e52b991be0d0495b8a0a95b8c8 (patch)
tree8190df898196ea33197d4dd1a9b21ee11e2d1bc6
parentc13d67dd25b63693c7a90012ce9eba59f12dc813 (diff)
[FIX] core: do not clear cache when removing registry from pool
No need to force other workers to reset their cache.
-rw-r--r--openerp/modules/registry.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/openerp/modules/registry.py b/openerp/modules/registry.py
index 35966773ae5..e715f1e234e 100644
--- a/openerp/modules/registry.py
+++ b/openerp/modules/registry.py
@@ -415,7 +415,6 @@ class RegistryManager(object):
"""Delete the registry linked to a given database. """
with cls.lock():
if db_name in cls.registries:
- cls.registries[db_name].clear_caches()
del cls.registries[db_name]
@classmethod