BillyDM/iced-baseplug-examples

SIGABRT on OS X

bgaster opened this issue · 0 comments

On opening the plugin GUI a SIGABRT causes the plugin and plugin host to crash.

Debugging this issue a little the crash happens when polling the run_instance within on_frame. It happens on the 2nd time it calls poll. Within this context the actual crash happens with the event loop in run_instance and specificly on handlgin the RuntimeEvent::OnFrame and more percisely the call in the term:

let new_mouse_interaction = compositor.draw(
                        &mut renderer,
                        &mut swap_chain,
                        state.viewport(),
                        state.background_color(),
                        &primitive,
                        &debug.overlay(),
                    );