gmosx/dart-wamp — pull request #10 by Goutte (2014-12-06 12:12:46+00:00)
Title: WampHandler.onDone API

I needed a onDone event hook to properly free some Maps (in the fashion of `clients.remove(c);`), and overriding the whole `handle`method just for this seems a bit much.

So :
- Add API WampHandler.onDone for convenience.
- Refactor WampHandler's internals a bit.
- Add some cheap comments.