commit | 4e8e8007cd5b88c020edd1a3748a8dcacf3fb58c | [log] [tgz] |
---|---|---|
author | hiroshige@chromium.org <hiroshige@chromium.org> | Fri Sep 12 05:39:13 2014 |
committer | hiroshige@chromium.org <hiroshige@chromium.org> | Fri Sep 12 05:39:13 2014 |
tree | 35a1136573ed43c4fd6c51a476bc237555221a49 | |
parent | 0de8d0fbdb8dc832548abd680cdd2e449f4e8040 [diff] |
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@846 4ff78f4a-9131-11de-b045-6380ec9940d4