示例#1
0
文件: Context.cs 项目: rpfeuti/ILGPU
        /// <summary cref="DisposeBase.Dispose(bool)"/>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                codeGenerationSemaphore.Dispose();
                IRContext.Dispose();

                ILFrontend.Dispose();
                DefautltILBackend.Dispose();

                DebugInformationManager.Dispose();
                TypeContext.Dispose();
            }
            base.Dispose(disposing);
        }
示例#2
0
 public void Dispose()
 {
     Context.Dispose();
     GC.SuppressFinalize(this);
 }
示例#3
0
 public void Dispose()
 {
     _context.Dispose();
 }