mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed project removal issue
This commit is contained in:
parent
0e6a001091
commit
78d63fd494
1 changed files with 4 additions and 0 deletions
|
@ -3205,6 +3205,10 @@ void BfSystem::RemoveOldData()
|
|||
if (typeDef->mProject->mDeleteStage == BfProject::DeleteStage_AwaitingRefs)
|
||||
typeDef->mProject->mDeleteStage = BfProject::DeleteStage_Queued;
|
||||
|
||||
for (auto parser : mParsers)
|
||||
if (parser->mProject->mDeleteStage == BfProject::DeleteStage_AwaitingRefs)
|
||||
parser->mProject->mDeleteStage = BfProject::DeleteStage_Queued;
|
||||
|
||||
for (int projectIdx = 0; projectIdx < (int)mProjectDeleteQueue.size(); projectIdx++)
|
||||
{
|
||||
auto project = mProjectDeleteQueue[projectIdx];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue