Ensure the finalization in DeflateStream is performed in the correct order. (#10330)
commitfe98c3b9a1c96f3d88c41e9f4d3aa56008a99817
authorFilip Navara <filip.navara@gmail.com>
Thu, 6 Sep 2018 22:50:50 +0000 (7 00:50 +0200)
committerLudovic Henry <luhenry@microsoft.com>
Thu, 6 Sep 2018 22:50:50 +0000 (6 18:50 -0400)
treec5cd1c6bd6ee109c370c7266edc186250fe55758
parent0f3af38ee431b884abb6767bac2e104f1183f44a
Ensure the finalization in DeflateStream is performed in the correct order. (#10330)

* Ensure the finalization of SafeHandle and GCHandle in DeflateStreamNative is performed in the correct order.

* Do not access BaseStream from finalizer.
mcs/class/System/System.IO.Compression/DeflateStream.cs