gruntjs/grunt-lib-phantomjs — pull request #45 by ssafejava (2013-10-15 06:10:25+00:00)
Title: Kill spawned phantomjs process on cleanup().

When running grunt-contrib-jasmine, which requires this lib, I've had issues with Phantom processes hanging after exit and displaying a "A script on this page appears to have a problem..." dialog.

This PR simply terminates phantom explicitly on cleanup.