mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Merge pull request #3024 from ryanpetrello/ldap-gc-deadlock
fix a deadlock when Python garbage collects LDAPBackend objects Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
fbc7f496c5
@ -69,9 +69,6 @@ class LDAPBackend(BaseLDAPBackend):
|
||||
super(LDAPBackend, self).__init__(*args, **kwargs)
|
||||
setting_changed.connect(self._on_setting_changed, dispatch_uid=self._dispatch_uid)
|
||||
|
||||
def __del__(self):
|
||||
setting_changed.disconnect(dispatch_uid=self._dispatch_uid)
|
||||
|
||||
def _on_setting_changed(self, sender, **kwargs):
|
||||
# If any AUTH_LDAP_* setting changes, force settings to be reloaded for
|
||||
# this backend instance.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user