mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Got rid of Action<T>/Func<T>
This commit is contained in:
parent
44bd9c698f
commit
b52db47d55
37 changed files with 94 additions and 88 deletions
|
@ -301,6 +301,7 @@ namespace IDE.Compiler
|
|||
|
||||
BfPassInstance passInstance = null;
|
||||
bool didPassInstanceAlloc = false;
|
||||
bool wantsRemoveOldData = false;
|
||||
|
||||
mBfSystem.Lock(0);
|
||||
|
||||
|
@ -488,8 +489,7 @@ namespace IDE.Compiler
|
|||
QueueDeferredResolveAll();
|
||||
|
||||
delete resolvePassData;
|
||||
mBfSystem.RemoveOldParsers();
|
||||
mBfSystem.RemoveOldData();
|
||||
wantsRemoveOldData = true;
|
||||
passKind = .Classify;
|
||||
|
||||
// End after resolveAll
|
||||
|
@ -520,6 +520,12 @@ namespace IDE.Compiler
|
|||
gApp.mErrorsPanel.ProcessPassInstance(passInstance, passKind);
|
||||
delete passInstance;
|
||||
}
|
||||
|
||||
if (wantsRemoveOldData)
|
||||
{
|
||||
mBfSystem.RemoveOldParsers();
|
||||
mBfSystem.RemoveOldData();
|
||||
}
|
||||
}
|
||||
|
||||
void HandleOptions(BfProject hotBfProject, int32 hotIdx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue