diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-26 15:05:57 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-26 15:05:57 +0200 |
commit | f54c15c8b1b88c9689cadf9a9bc43a5f735f4b8e (patch) | |
tree | cf961f4d39df16fb050ba22a8d975a96e4e8463b /src/ui_act.c | |
parent | 81bf363ac69e0036562434ca0e7153c3e624c8c3 (diff) | |
download | pianobar-f54c15c8b1b88c9689cadf9a9bc43a5f735f4b8e.tar.gz pianobar-f54c15c8b1b88c9689cadf9a9bc43a5f735f4b8e.tar.bz2 pianobar-f54c15c8b1b88c9689cadf9a9bc43a5f735f4b8e.zip |
Revert "Fix player thread teardown/signals on OS X"
This reverts commit f6dffd1822404522b8354ac453a911a0d98bfc61.
Diffstat (limited to 'src/ui_act.c')
-rw-r--r-- | src/ui_act.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui_act.c b/src/ui_act.c index a4fc1f7..2cc3197 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -54,10 +54,6 @@ static inline void BarUiDoSkipSong (struct audioPlayer *player) { assert (player != NULL); if (player->mode != PLAYER_FINISHED_PLAYBACK && player->mode != PLAYER_FREED) { - /* unpause to make sure thread is able to reach cancellation point */ - if (player->paused) { - pthread_kill (player->thread, BAR_PLAYER_SIGCONT); - } pthread_cancel (player->thread); } } |