예제 #1
0
        public void Dispose()
        {
            if (disposed)
            {
                return;
            }

            disposed = true;
            runtime?.Dispose();
        }
예제 #2
0
 public void Dispose()
 {
     if (disposed)
     {
         return;
     }
     disposed = true;
     if (runtime != null)
     {
         runtime.Dispose();
     }
 }
예제 #3
0
        protected void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                runtime.Dispose();
            }

            disposed = true;
        }