summaryrefslogtreecommitdiff
path: root/factory/django.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/django.py')
-rw-r--r--factory/django.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/factory/django.py b/factory/django.py
index e4a3ea7..5cc2b31 100644
--- a/factory/django.py
+++ b/factory/django.py
@@ -277,6 +277,8 @@ class mute_signals(object):
receivers)
signal.receivers = receivers
+ with signal.lock:
+ signal.sender_receivers_cache.clear()
self.paused = {}
def copy(self):