From 20f48bb3f3934c4879ad228b2897568884608caf Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Tue, 9 Apr 2013 00:13:24 -0400 Subject: [PATCH] fixed occassional crash when closing one of many concurrently opened signal processing root patches --- pd/src/g_canvas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/src/g_canvas.c b/pd/src/g_canvas.c index 96e0ae2c6..1bd346e39 100644 --- a/pd/src/g_canvas.c +++ b/pd/src/g_canvas.c @@ -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 ---------- */ -- GitLab