This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
BLOCKS: Ensure that the program loaded callback is called when program passed to setProgram is identical to what's already loaded
tags/2021-05-28
Agnieszka Janowicz
Tom Poole
6 years ago
parent
50be983db5
commit
fdcebfe6a2
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
modules/juce_blocks_basics/topology/internal/juce_BlockImplementation.cpp
+ 2
- 2
modules/juce_blocks_basics/topology/internal/juce_BlockImplementation.cpp
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;
Write
Preview
Loading…
Cancel
Save