Closed torbjornlager closed 10 years ago
This is because abort() is issued while a pull_response is in progress. This implies that the reply
to the abort is handed to the pull_response, leaving the abort HTTP handler with a non-existing
pengine. I've fixed this by responding with a died
event and updated pengines.js
to ignore the died if it is a response to an abort().
If you click Start and then Abort, the following example produces an Internal server error "message_queue `'$message_queue'(247)' does not exist". Can be seen in e.g. Firebug:
http://pengines.swi-prolog.org/apps/scratchpad/index.html#b0b098b8-0fe4-11e4-be3e-00163e8bf66a.html
And if the link will become invalid: