Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
903abeb2
Commit
903abeb2
authored
Jun 15, 2002
by
Michael Smith
Browse files
fixed crash in shutdown if startup didn't happen properly.
svn path=/trunk/icecast/; revision=3390
parent
8a4ae84d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stats.c
View file @
903abeb2
...
...
@@ -84,6 +84,9 @@ void stats_shutdown()
{
int
n
;
if
(
!
_stats_running
)
/* We can't shutdown if we're not running. */
return
;
/* wait for thread to exit */
_stats_running
=
0
;
thread_join
(
_stats_thread_id
);
...
...
Write
Preview
Supports
Markdown
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