Ah, I didn’t look into what threads GP is running by now.
Guessing the GPScript logic runs in a separate thread?
this would explain it then. (called loadGPPreset from within a GPScript callback).
Does the SDK provide access to any useful functionality for handling its different threads?
Or should I implement a custom scheduler/queue system?
(I imagine this must be quite similar to how the “native” GPScript-callback loadGPPreset works, cause it runs in the script thread too)
Edit: Found an old thread shedding some light on GPs threads as well as what the SDK aims to provide and what not. What is the best way to use a timer? So I’ll do some investigation and maybe port the extension to work with JUCE.