screenshot-as-a-service
screenshot-as-a-service copied to clipboard
Webservice crashes when child process exits
Hello,
When the phantomjs child process crashes, the webservice would not correctly restarts. I've just done a small fix for that.
Yeah I had the same problem! This solution solved Thanks!
This will cause exit/restart loops. Better to leave the onExit handler unchanged in startService and then in rasterizerExitHandler:
- this.startService();
- self.startService();