Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
68af752d
Commit
68af752d
authored
May 31, 2011
by
Rémi Denis-Courmont
Browse files
Cancel interface thread on exit
DBus, XOSD and Audio Scrobbler interfaces depend on this.
parent
cc26826f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/interface/interface.c
View file @
68af752d
...
@@ -199,7 +199,10 @@ void intf_DestroyAll( libvlc_int_t *p_libvlc )
...
@@ -199,7 +199,10 @@ void intf_DestroyAll( libvlc_int_t *p_libvlc )
intf_thread_t
*
p_next
=
p_intf
->
p_next
;
intf_thread_t
*
p_next
=
p_intf
->
p_next
;
if
(
p_intf
->
pf_run
)
if
(
p_intf
->
pf_run
)
{
vlc_cancel
(
p_intf
->
thread
);
vlc_join
(
p_intf
->
thread
,
NULL
);
vlc_join
(
p_intf
->
thread
,
NULL
);
}
module_unneed
(
p_intf
,
p_intf
->
p_module
);
module_unneed
(
p_intf
,
p_intf
->
p_module
);
free
(
p_intf
->
psz_intf
);
free
(
p_intf
->
psz_intf
);
config_ChainDestroy
(
p_intf
->
p_cfg
);
config_ChainDestroy
(
p_intf
->
p_cfg
);
...
...
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