Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
2d38bd4c
Commit
2d38bd4c
authored
Oct 19, 2012
by
Ivica Ico Bukvic
Browse files
further improved robustness of the glob_quit destructor
parent
213bc9ae
Changes
1
Show whitespace changes
Inline
Side-by-side
src/s_inter.c
View file @
2d38bd4c
...
...
@@ -1315,6 +1315,8 @@ void sys_bail(int n)
//extern t_pd *garray_floattemplatecanvas;
extern
void
glob_closeall
(
void
*
dummy
,
t_floatarg
fforce
);
extern
int
do_not_redraw
;
void
glob_quit
(
void
*
dummy
)
{
//If we're going to try to cleanly close everything here, we should do the same for all open
...
...
@@ -1325,6 +1327,7 @@ void glob_quit(void *dummy)
//if (garray_arraytemplatecanvas) canvas_free( (t_canvas *)garray_arraytemplatecanvas);
//if (garray_floattemplatecanvas) canvas_free( (t_canvas *)garray_floattemplatecanvas);
canvas_suspend_dsp
();
do_not_redraw
=
1
;
glob_closeall
(
0
,
1
);
sys_vgui
(
"exit
\n
"
);
if
(
!
sys_nogui
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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