Skip to content

process: support symbol events

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/process into master

Event emitters support symbols as event names. The process object assumes that the event name is a string, and examines the first three characters to check for signals. This causes an exception if the event name is a symbol. This commit ensures that the event name is a string before trying to slice() it.

Merge request reports

Loading