views:

64

answers:

1

Whilst building unit tests for a client/server system at work, I ran into a problem where my io_service was not releasing after I had shutdown all the active handlers (that I was aware of).

After a day of trawling through code, I came across the errant handler which had not been integrated into my client shutdown procedures.

My question is this: Is there an easy way to list the currently active handlers in the boost io_service?, if not, why not?

Any insight would be appreciated.