Fix OpenAsync function to rethrow exception during connection establish.

This bug was introduced in 106e9912
This commit is contained in:
Serge Camille
2020-10-17 17:54:30 +02:00
parent c9bab7523a
commit d051b93bdc

View File

@@ -35,6 +35,7 @@ namespace S7.Net
catch(Exception)
{
stream.Dispose();
throw;
}
}