diff --git a/sshtunnel.py b/sshtunnel.py index c48e330..a7db0c4 100644 --- a/sshtunnel.py +++ b/sshtunnel.py @@ -1609,6 +1609,7 @@ def __enter__(self): return self except KeyboardInterrupt: self.__exit__() + raise def __exit__(self, *args): self.stop(force=True)