Merge pull request #338 from scamille/fixOpen

Fix OpenAsync function to rethrow exception during connection establish.
This commit is contained in:
Michael Croes
2020-10-17 20:04:57 +02:00
committed by GitHub

View File

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