This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Don't dispatch Module::onUnsetPrimary() and Module::onSetPrimary() in setPrimaryModule() if module is already primary.
tags/v2.0.0
Andrew Belt
3 years ago
parent
f5781b3b56
commit
90cf9af4a2
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/engine/Engine.cpp
+ 2
- 0
src/engine/Engine.cpp
View File
@@ -610,6 +610,8 @@ void Engine::stepBlock(int frames) {
void Engine::setPrimaryModule(Module* module) {
if (module == internal->primaryModule)
return;
WriteLock lock(internal->mutex);
if (internal->primaryModule) {
Write
Preview
Loading…
Cancel
Save