diff --git a/S7.Net/PlcAsynchronous.cs b/S7.Net/PlcAsynchronous.cs index f934160..387e610 100644 --- a/S7.Net/PlcAsynchronous.cs +++ b/S7.Net/PlcAsynchronous.cs @@ -33,7 +33,7 @@ namespace S7.Net } catch(Exception) { - stream.Close(); + stream.Dispose(); } }