restore the clock before leaving the process to die

This commit is contained in:
Spencer Alger
2014-02-10 13:57:14 -07:00
parent 257d596207
commit 77d934aa03

View File

@ -24,6 +24,8 @@ es.search({
console.log(clock);
}
clock.restore();
var destroyedSockets = 0;
function countDestroyed(sockets) {
destroyedSockets += _.where(sockets, { destroyed: true}).length;