properly call query_returns for now

This commit is contained in:
Weird Constructor 2022-08-06 14:19:39 +02:00
parent d3b032a1a4
commit e96e635163

View file

@ -703,6 +703,11 @@ impl NodeConfigurator {
/// updates are then sent to the audio thread.
/// See also [NodeConfigurator::get_block_function].
pub fn check_block_function(&mut self, id: usize) -> Result<(), BlkJITCompileError> {
#[cfg(feature = "synfx-dsp-jit")]
if let Some(cod) = self.code_engines.get_mut(id) {
cod.query_returns();
}
#[cfg(feature = "synfx-dsp-jit")]
if let Some((generation, block_fun)) = self.block_functions.get_mut(id) {
if let Ok(block_fun) = block_fun.lock() {