static private ReleaseProjectBuilder ( MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine engine ) : void | ||
engine | MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine | |
Результат | void |
public void Dispose() { if (engine != null) { if (builder != null) { engine.UnloadProject(builder); } MSBuildProjectService.ReleaseProjectBuilder(engine); GC.SuppressFinalize(this); engine = null; builder = null; } }
public void Dispose () { if (!MSBuildProjectService.ShutDown && engine != null) { try { if (builder != null) engine.UnloadProject (builder); MSBuildProjectService.ReleaseProjectBuilder (engine); } catch { // Ignore } GC.SuppressFinalize (this); engine = null; builder = null; } }