summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/examples/media-session/suspend-node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/media-session/suspend-node.c b/src/examples/media-session/suspend-node.c
index 8d02c5ac..192b65cd 100644
--- a/src/examples/media-session/suspend-node.c
+++ b/src/examples/media-session/suspend-node.c
@@ -184,6 +184,7 @@ handle_node(struct impl *impl, struct sm_object *object)
static void destroy_node(struct impl *impl, struct node *node)
{
+ remove_idle_timeout(node);
spa_list_remove(&node->link);
spa_hook_remove(&node->listener);
sm_object_remove_data((struct sm_object*)node->obj, SESSION_KEY);