Raising onleave() on participant disconnection (lines 1076-1083)

https://trello.com/c/wZkHz8qj
What that means?