mozilla/butter — pull request #242 by secretrobotron (2012-04-26 16:43:38+00:00)
Title: [t665] onclose event for editors

1. Right before closing, editors will issue a close message through comm.
2. Rest of "close" code happen (almost) next JS event loop.