Commit 20f48bb3 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed occassional crash when closing one of many concurrently opened signal processing root patches

parent afbcc7f0
......@@ -911,11 +911,11 @@ void canvas_free(t_canvas *x)
freebytes(x->gl_env->ce_argv, x->gl_env->ce_argc * sizeof(t_atom));
freebytes(x->gl_env, sizeof(*x->gl_env));
}
canvas_resume_dsp(dspstate);
glist_cleanup(x);
gfxstub_deleteforkey(x); /* probably unnecessary */
if (!x->gl_owner)
canvas_takeofflist(x);
canvas_resume_dsp(dspstate);
}
/* ----------------- lines ---------- */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment