def pymt_plugin_deactivate(w, ctx): w.remove_widget(ctx.c) ounk.stopCsound()
def pymt_plugin_deactivate(w, ctx): w.remove_widget(ctx.c) # Csound needs to be stopped at the end to avoid errors. ounk.stopCsound()