joyent/node — pull request #3431 by reid (2012-06-13 17:44:30+00:00)
Title: Fix #3425: removeAllListeners should delete array

When removeAllListeners is called, the listeners array is deleted to maintain compatibility with v0.6.

This request fixes issue #3425 by reverting 78dc13fbf97e2e3003e6f3baacdd5ff60e8de3f7. In addition to the revert, I've updated the tests to match the reverted behavior.