On 15 September 2010 09:15, Mathieu Lonjaret <mathieu.lonja...@gmail.com> wrote: > I haven't tried chanclose() yet, but setting to nil the freed chan in the > alt entry is not really what I wanted since it will make alt() return -1 > (better than crashing but not ideal).
it wouldn't return -1 (assuming there are at least some valid channels in the alt array) if you set the op to CHANNOP as well as setting c to nil.