Commit c9a1b5d1 authored by Reid Burke's avatar Reid Burke Committed by isaacs
Browse files

Fix #3425: removeAllListeners should delete array

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

Reverts "events: don't delete the listeners array"

This reverts commit 78dc13fb.

Conflicts:

	test/simple/test-event-emitter-remove-all-listeners.js
parent 13400e3e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment