flatiron/winston — pull request #85 by unclespike (2012-01-18 12:03:49+00:00)
Title: Stop global variable leak in ProfileHandler.done

I was trying to use logger.startTimer() and timer.done() but was getting an error when testing my app with mocha that there were global leaks detected and it was failing the test.

I just added the missing variable declarations in this.done for ProfileHandler.