From 80ad95372bb94a11c982824aaffc0b20fb904e42 Mon Sep 17 00:00:00 2001 From: Serge Camille Date: Sat, 12 Sep 2020 11:19:08 +0200 Subject: [PATCH] Use Stream.Dispose() for NetStandard 1.3 --- S7.Net/PlcAsynchronous.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }