mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 23:04:09 +02:00
Fix for removing project
This commit is contained in:
parent
abfab35f93
commit
2b574916cc
3 changed files with 9 additions and 3 deletions
|
@ -390,7 +390,6 @@ namespace IDE.Compiler
|
|||
if (projectSource.mIncludeKind != .Ignore)
|
||||
{
|
||||
BfProject bfProject = null;
|
||||
|
||||
using (projectSource.mProject.mMonitor.Enter())
|
||||
{
|
||||
projectSourceCommand.mProjectSource.GetFullImportPath(sourceFilePath);
|
||||
|
@ -454,10 +453,8 @@ namespace IDE.Compiler
|
|||
if (hash case .MD5(let md5Hash))
|
||||
bfParser.SetHashMD5(md5Hash);
|
||||
|
||||
//passInstance.SetProject(bfProject);
|
||||
worked &= bfParser.Parse(passInstance, false);
|
||||
worked &= bfParser.Reduce(passInstance);
|
||||
//passInstance.SetProject(bfProject);
|
||||
worked &= bfParser.BuildDefs(passInstance, null, false);
|
||||
|
||||
passKind = .Parse;
|
||||
|
|
|
@ -447,6 +447,14 @@ namespace IDE
|
|||
StopWatching();
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
for (var item in mChildItems)
|
||||
{
|
||||
item.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public void GetRelDir(String path)
|
||||
{
|
||||
if (mPath != null)
|
||||
|
|
|
@ -1234,6 +1234,7 @@ namespace IDE.ui
|
|||
}
|
||||
});
|
||||
|
||||
project.mRootFolder.Dispose();
|
||||
RemoveProject(project);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue