Commit Graph

1 Commits

Author SHA1 Message Date
Anna Henningsen
78b135806f
test: check destroy hooks are called before exit
Verify that the destroy callback for a TCP server is called before exit
if it is closed in another destroy callback.

Fixes: https://github.com/nodejs/node/issues/13262
PR-URL: https://github.com/nodejs/node/pull/13369
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
2017-06-02 16:21:32 -06:00