Changeset 248d9c5273dadcce5485eb2c50bb035354451e6e
- Timestamp:
- 14/10/07 22:21:56
(1 year ago)
- Author:
- Damien Fouilleul <damienf@videolan.org>
- git-committer:
- Damien Fouilleul <damienf@videolan.org> 1192393316 +0000
- git-parent:
[7f3af96e38437fd97b5c212715840806f46b7ca1]
- git-author:
- Damien Fouilleul <damienf@videolan.org> 1192393316 +0000
- Message:
playlist.c: removed potential deadlock and duplicate signalling
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r222960c |
r248d9c5 |
|
| 335 | 335 | { |
|---|
| 336 | 336 | msg_Dbg( p_playlist, "nothing to play" ); |
|---|
| | 337 | p_playlist->status.i_status = PLAYLIST_STOPPED; |
|---|
| | 338 | PL_UNLOCK |
|---|
| | 339 | |
|---|
| 337 | 340 | if( b_playexit == VLC_TRUE ) |
|---|
| 338 | 341 | { |
|---|
| … | … | |
| 340 | 343 | vlc_object_kill( p_playlist->p_libvlc ); |
|---|
| 341 | 344 | } |
|---|
| 342 | | p_playlist->status.i_status = PLAYLIST_STOPPED; |
|---|
| 343 | | PL_UNLOCK |
|---|
| 344 | | |
|---|
| 345 | 345 | ObjectGarbageCollector( p_playlist, VLC_TRUE ); |
|---|
| 346 | 346 | return; |
|---|
| rc38c370 |
r248d9c5 |
|
| 139 | 139 | // Tell playlist to go to last loop |
|---|
| 140 | 140 | vlc_object_kill( p_playlist ); |
|---|
| 141 | | playlist_Signal( p_playlist ); |
|---|
| 142 | 141 | |
|---|
| 143 | 142 | // Kill preparser |
|---|