fix: do not remove informations in context
This commit is contained in:
parent
36ab09265a
commit
c889dd2902
1 changed files with 9 additions and 8 deletions
|
|
@ -2253,14 +2253,15 @@ class Config(TiramisuAPI, TiramisuContextOption):
|
|||
permissives=permissives,
|
||||
)
|
||||
super().__init__(config_bag)
|
||||
|
||||
def __del__(self):
|
||||
try:
|
||||
del self._config_bag.context
|
||||
del self._config_bag
|
||||
del self._orig_config_bags
|
||||
except ConfigError:
|
||||
pass
|
||||
#
|
||||
# def __del__(self):
|
||||
# try:
|
||||
# # FIXME
|
||||
# # del self._config_bag.context
|
||||
# del self._config_bag
|
||||
# del self._orig_config_bags
|
||||
# except ConfigError:
|
||||
# pass
|
||||
|
||||
|
||||
class MetaConfig(TiramisuAPI, TiramisuContextOption):
|
||||
|
|
|
|||
Loading…
Reference in a new issue