webis-de/scriptor

Clean up even on error

johanneskiesel opened this issue · 1 comments

Though this is now what I originally intended, someone is now running the entrypoint several times in a row. To support this, it would be necessary to clean up a bit more after an error occurs.

The critical spot seems to be here:

const chainable = (true === await execution);

This also needs more killing (xvfb):

showBrowserProcesses["lwm"].kill();