rizzoma/ncp — pull request #1 by SlNPacifist (2012-02-11 11:02:45+00:00)
Title: Callback is not called if some of the files were filtered out

I updated tests so you can try new tests with old code - it will show "Asyncronous error" because callback is not called. The problem is that "running" variable is increased every time getStats is called but decreased every time cb is called. If any file get filtered out then no getStats is called but cb still decreases "running".