screenshot-as-a-service icon indicating copy to clipboard operation
screenshot-as-a-service copied to clipboard

Webservice crashes when child process exits

Open daviddumon opened this issue 11 years ago • 2 comments

Hello,

When the phantomjs child process crashes, the webservice would not correctly restarts. I've just done a small fix for that.

daviddumon avatar Nov 06 '13 14:11 daviddumon

Yeah I had the same problem! This solution solved Thanks!

danigonza avatar Jan 08 '14 17:01 danigonza

This will cause exit/restart loops. Better to leave the onExit handler unchanged in startService and then in rasterizerExitHandler:

  • this.startService();
  • self.startService();

gcrumb avatar Apr 21 '14 02:04 gcrumb