Created
October 2, 2022 01:25
-
-
Save dreness/74a871cf91affb4ac45ab1a1d6c0cfc8 to your computer and use it in GitHub Desktop.
In Vuo, load ISF modules synchronously
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/compiler/VuoCompiler.cc b/compiler/VuoCompiler.cc | |
index 6f281f04..2c7af1af 100644 | |
--- a/compiler/VuoCompiler.cc | |
+++ b/compiler/VuoCompiler.cc | |
@@ -1731,7 +1731,7 @@ set<dispatch_group_t> VuoCompiler::Environment::compileModulesFromSourceCode(con | |
__block VuoModuleCompilationQueue::Item *queueItem = moduleCompilationQueue->next(); | |
VUserLog("Compiling %s", queueItem->moduleKey.c_str()); | |
- dispatch_async(queue, ^{ | |
+ dispatch_sync(queue, ^{ | |
try | |
{ | |
VuoFileUtilities::makeDir(queueItem->cachedModulesPath); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment