diff --git a/silverback/application.py b/silverback/application.py index 4a514802..4e9a9e14 100644 --- a/silverback/application.py +++ b/silverback/application.py @@ -56,7 +56,7 @@ def __init__(self, settings: Optional[Settings] = None): # NOTE: This allows using connected ape methods e.g. `Contract` provider = self.network.__enter__() - atexit.register(self.network.__exit__) + atexit.register(self.network.__exit__, None, None, None) self.signer = settings.get_signer() self.new_block_timeout = settings.NEW_BLOCK_TIMEOUT