domain-middleware icon indicating copy to clipboard operation
domain-middleware copied to clipboard

cleanly monitor worker.disconnect and server.close

Open Offirmo opened this issue 11 years ago • 1 comments

instead of try/catching server.close and worker.disconnect, we could listen to their close and disconnect signal and abstain from repeating if already closed / shut.

More elegant I think.

PR pending.

Offirmo avatar Sep 27 '14 18:09 Offirmo

Note : my fork https://github.com/Offirmo/domain-middleware has this issue solved.

Offirmo avatar Oct 09 '14 16:10 Offirmo