Commit 84d18f70 authored by David Goulet's avatar David Goulet 🤘
Browse files

sched: Always call on_channel_free() regardless of state

A channel can bounce in the scheduler and bounce out with the IDLE state which
means that if it came in the scheduler once, it has socket information that
needs to be freed from the global hash table.

Signed-off-by: David Goulet's avatarDavid Goulet <>
parent 7cc9621d
......@@ -547,11 +547,11 @@ scheduler_release_channel,(channel_t *chan))
offsetof(channel_t, sched_heap_idx),
if (the_scheduler->on_channel_free) {
chan->scheduler_state = SCHED_CHAN_IDLE;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment