Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
55153f42
Commit
55153f42
authored
Feb 10, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some debug
parent
0b28505c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/misc/objects.c
src/misc/objects.c
+5
-0
No files found.
src/misc/objects.c
View file @
55153f42
...
@@ -575,6 +575,8 @@ int __vlc_object_waitpipe( vlc_object_t *obj )
...
@@ -575,6 +575,8 @@ int __vlc_object_waitpipe( vlc_object_t *obj )
fd
=
internals
->
pipes
[
1
];
fd
=
internals
->
pipes
[
1
];
internals
->
pipes
[
1
]
=
-
1
;
internals
->
pipes
[
1
]
=
-
1
;
vlc_spin_unlock
(
&
internals
->
spin
);
vlc_spin_unlock
(
&
internals
->
spin
);
msg_Dbg
(
obj
,
"waitpipe: object already dying"
);
if
(
fd
!=
-
1
)
if
(
fd
!=
-
1
)
close
(
fd
);
close
(
fd
);
}
}
...
@@ -684,7 +686,10 @@ void __vlc_object_kill( vlc_object_t *p_this )
...
@@ -684,7 +686,10 @@ void __vlc_object_kill( vlc_object_t *p_this )
vlc_spin_unlock
(
&
internals
->
spin
);
vlc_spin_unlock
(
&
internals
->
spin
);
if
(
fd
!=
-
1
)
if
(
fd
!=
-
1
)
{
msg_Dbg
(
p_this
,
"waitpipe: object killed"
);
close
(
fd
);
close
(
fd
);
}
if
(
p_this
->
i_object_type
==
VLC_OBJECT_LIBVLC
)
if
(
p_this
->
i_object_type
==
VLC_OBJECT_LIBVLC
)
for
(
int
i
=
0
;
i
<
p_this
->
i_children
;
i
++
)
for
(
int
i
=
0
;
i
<
p_this
->
i_children
;
i
++
)
...
...
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