Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
remove the utility when we remove the utility
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Navarro Bosch committed Feb 9, 2017
1 parent 2b85196 commit a0ab75d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plone.server/plone/server/factory/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def del_async_utility(self, config):
utility = getUtility(interface)
gsm = getGlobalSiteManager()
gsm.unregisterUtility(utility, provided=interface)
del self._async_utilities[config['provides']]

def set_root_user(self, user):
password = user['password']
Expand Down

0 comments on commit a0ab75d

Please sign in to comment.