entropy.client.interfaces.client.Client: on destroy() call SystemSettings'

disconnect_entropy method instead of destroy
This commit is contained in:
Fabio Erculiani
2009-04-06 13:37:09 +02:00
parent cdfa67f85a
commit fa08b99ba1
@@ -156,8 +156,8 @@ class Client(Singleton, TextInterface, Loaders, Cache, Calculators, \
if hasattr(self,'Cacher'):
self.Cacher.stop()
if hasattr(self,'SystemSettings'):
if hasattr(self.SystemSettings,'destroy'):
self.SystemSettings.destroy()
if hasattr(self.SystemSettings,'disconnect_entropy'):
self.SystemSettings.disconnect_entropy()
self.close_all_repositories(mask_clear = False)
self.closeAllSecurity()