Skip to content

Lost connection triggers TypeError exception #4

foresto opened this Issue Jul 20, 2011 · 1 comment

2 participants

foresto commented Jul 20, 2011

When rabbitmq is restarted while my application is connected, my app dies with the following exception:

TypeError: 'NoneType' object is not callable

Looks like the problem is that ConnectionChannel._recv_close() schedules a call to self.connection._close_cb even if it is None. I can work around the problem by passing a close_cb argument to haigha.connection.Connection().

@awestendorf awestendorf was assigned Jul 21, 2011
Agora Games member

Fixed d50cab3

This changes the close callback interface such that it no longer takes any arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.