Re: Possible bug-fixing in rr-manager handle_incoming_close_rpy

David Marín Carreño <[email protected]> 13 Jan 2003 10:16:01 +0100
Newsgroups gmane.network.beep.roadrunner.general
Organization Advanced Software Production Line, S.L.
Message-ID <[email protected]>
El dom, 12-01-2003 a las 15:02, Jonas Borgström escribió:
> "David Marín Carreño" <[email protected]> writes:
> 
> > When I try to close a channel, the closer locks waiting an incoming closerpy.
> > 
> > After debugging a bit, I've seen that handle_incoming_close_rpy doesn't
> > works well: it runs, but it never comes to rr_message_close_done.
> 
> Can you send me a simple test-case that triggers the problem you
> described?
> 
> The only reason I can think of right now is that you call rr_channel_close
> from the "frame_available" handler. A profile isn't allowed to call any
> blocking function like rr_channel_close (rr_manager_close_channel_nonblock
> can be used instead).

You were right: that was our problem. There's no problem now using
rr_manager_close_channel_nonblock.

Thank you!

-- 
David Marín Carreño <[email protected]>
Advanced Software Production Line, S.L.