dominictarr/mux-demux — pull request #9 by Raynos (2012-08-11 05:19:43+00:00)
Title: Expose a destroyed flag

This allows me to distinguish between a

- mdm stream ended because the remote ended it
- mdm stream ended because md was ended (i.e. a server disconnect)