Example #1
0
 private void DisposeStreamProxy()
 {
     if (_streamProxy != null)
     {
         _streamProxy.Dispose();
         _streamProxy = null;
     }
 }
Example #2
0
        protected override void Dispose(bool disposing)
        {
            if (streamProxy != null)
            {
                streamProxy.Dispose();
                streamProxy = null;
            }

            base.Dispose(disposing);
        }
Example #3
0
        protected override unsafe void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (streamProxy != null)
            {
                streamProxy.Dispose();
                streamProxy = null;
            }

            if (randomAccessStreamCom != null)
            {
                randomAccessStreamCom.Dispose();
                randomAccessStreamCom = null;
            }
        }