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

            base.Dispose(disposing);
        }
예제 #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;
            }
        }