Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
575659cf
Commit
575659cf
authored
Jul 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: wait for preparser end from playlist thread.
parent
81b983e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/playlist/engine.c
src/playlist/engine.c
+5
-4
No files found.
src/playlist/engine.c
View file @
575659cf
...
@@ -170,15 +170,11 @@ static void playlist_Destructor( vlc_object_t * p_this )
...
@@ -170,15 +170,11 @@ static void playlist_Destructor( vlc_object_t * p_this )
if
(
p_playlist
->
p_preparse
)
if
(
p_playlist
->
p_preparse
)
{
{
vlc_object_kill
(
p_playlist
->
p_preparse
);
vlc_thread_join
(
p_playlist
->
p_preparse
);
vlc_object_release
(
p_playlist
->
p_preparse
);
vlc_object_release
(
p_playlist
->
p_preparse
);
}
}
if
(
p_playlist
->
p_fetcher
)
if
(
p_playlist
->
p_fetcher
)
{
{
vlc_object_kill
(
p_playlist
->
p_fetcher
);
vlc_thread_join
(
p_playlist
->
p_fetcher
);
vlc_object_release
(
p_playlist
->
p_fetcher
);
vlc_object_release
(
p_playlist
->
p_fetcher
);
}
}
msg_Dbg
(
p_this
,
"Destroyed"
);
msg_Dbg
(
p_this
,
"Destroyed"
);
...
@@ -508,6 +504,11 @@ void playlist_LastLoop( playlist_t *p_playlist )
...
@@ -508,6 +504,11 @@ void playlist_LastLoop( playlist_t *p_playlist )
playlist_ServicesDiscoveryKillAll
(
p_playlist
);
playlist_ServicesDiscoveryKillAll
(
p_playlist
);
playlist_MLDump
(
p_playlist
);
playlist_MLDump
(
p_playlist
);
vlc_object_kill
(
p_playlist
->
p_preparse
);
vlc_thread_join
(
p_playlist
->
p_preparse
);
vlc_object_kill
(
p_playlist
->
p_fetcher
);
vlc_thread_join
(
p_playlist
->
p_fetcher
);
PL_LOCK
;
PL_LOCK
;
FOREACH_ARRAY
(
playlist_item_t
*
p_del
,
p_playlist
->
all_items
)
FOREACH_ARRAY
(
playlist_item_t
*
p_del
,
p_playlist
->
all_items
)
free
(
p_del
->
pp_children
);
free
(
p_del
->
pp_children
);
...
...
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