node: ensure same AL inst only runs once
authorTrevor Norris <trev.norris@gmail.com>
Tue, 21 Jan 2014 06:53:56 +0000 (22:53 -0800)
committerTrevor Norris <trev.norris@gmail.com>
Tue, 21 Jan 2014 18:20:14 +0000 (10:20 -0800)
commit60fcc11be2562306f8961ad6c257959822578823
tree45059e32e2eb7491516a39628441cd346144b9b7
parent63ccfc35366774fff1ee8db313a1b9ea6d6eb66c
node: ensure same AL inst only runs once

It was possible that the same AL instance was run twice if it were both
attached to the currentContext then again added to the new asyncQueue
generated for the new stack.

Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
src/node.js
test/simple/test-asynclistener-run-inst-once.js [new file with mode: 0644]