]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
subscription: fix another unsubscribe / unlink crashes
authorJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 19:20:41 +0000 (20:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 19:20:41 +0000 (20:20 +0100)
commitb9f2598679f6edc9ffcc574e2ed090917d370474
treef92baf0e0848eeaa7563d09a893725ae9e6de3e8
parented37999a26f6e0daf18aa895b981bbb88024b0a6
subscription: fix another unsubscribe / unlink crashes

A global timer (callback) is used in subscription_unlink_service now.
It eliminates the unlink/unsubscribe deadlocks because the timer
is released when the subscription is destroyed.
src/subscriptions.c
src/subscriptions.h