Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
2e7b4136
Commit
2e7b4136
authored
Jul 14, 2016
by
Jonathan Wilkes
Browse files
quick fix for #88: "couldn't unbind" messages when array object is deleted
parent
66e8df11
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_scalar.c
View file @
2e7b4136
...
...
@@ -1014,7 +1014,8 @@ static void scalar_vis(t_gobj *z, t_glist *owner, int vis)
sprintf
(
tagbuf
,
"scalar%lx"
,
(
long
unsigned
int
)
x
->
sc_vec
);
gui_vmess
(
"gui_scalar_erase"
,
"xs"
,
glist_getcanvas
(
owner
),
tagbuf
);
pd_unbind
(
&
x
->
sc_gobj
.
g_pd
,
gensym
(
buf
));
if
(
gensym
(
buf
)
->
s_thing
)
pd_unbind
(
&
x
->
sc_gobj
.
g_pd
,
gensym
(
buf
));
}
sys_unqueuegui
(
x
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment