Clear event listeners by setting them to null, instead of function() {}.

This reduces the number of listeners shown in the Chrome DevTools timeline.

R=tyoshino@chromium.org

Review URL: https://codereview.appspot.com/136530044

git-svn-id: https://pywebsocket.googlecode.com/svn/trunk/src@846 4ff78f4a-9131-11de-b045-6380ec9940d4
2 files changed
tree: 1d7de5abe161be817f23a48462dc3558b92a8e72
  1. example/
  2. mod_pywebsocket/
  3. test/
  4. COPYING
  5. MANIFEST.in
  6. README
  7. setup.py