1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

BLOCKS: Ensure that the program loaded callback is called when program passed to setProgram is identical to what's already loaded

This commit is contained in:
Agnieszka Janowicz 2019-06-13 12:39:03 +01:00 committed by Tom Poole
parent 50be983db5
commit fdcebfe6a2

View file

@ -271,8 +271,6 @@ public:
return Result::ok();
}
stopTimer();
{
std::unique_ptr<Program> p (newProgram);
@ -284,6 +282,8 @@ public:
std::swap (program, p);
}
stopTimer();
programSize = 0;
isProgramLoaded = shouldSaveProgramAsDefault = false;