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
ca6a611b
Commit
ca6a611b
authored
Mar 19, 2003
by
Michael Smith
Browse files
Fix ordering of some calls in source shutdown, silly bug.
Remove wrong comment. svn path=/trunk/icecast/; revision=4513
parent
35e22a00
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/source.c
View file @
ca6a611b
...
...
@@ -159,9 +159,6 @@ int source_free_source(void *key)
}
/* The caller MUST have a current write lock on global.source_tree when calling
* this
*/
void
*
source_main
(
void
*
arg
)
{
source_t
*
source
=
(
source_t
*
)
arg
;
...
...
@@ -633,11 +630,11 @@ done:
if
(
source
->
dumpfile
)
fclose
(
source
->
dumpfile
);
source_free_source
(
source
);
/* release our hold on the lock so the main thread can continue cleaning up */
thread_rwlock_unlock
(
source
->
shutdown_rwlock
);
source_free_source
(
source
);
thread_exit
(
0
);
return
NULL
;
...
...
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