Ben Noordhuis
fb3ec32b0e
net: use close callback, not process.nextTick
...
Don't emit the 'close' event with process.nextTick.
Closing a handle is an operation that usually *but not always* completes
on the next tick of the event loop, hence using process.nextTick is not
reliable.
Use a proper handle close callback and emit the 'close' event from
inside the callback.
Update tests that depend on the intricacies of the old model.
Fixes #3459 .
2013-03-06 16:15:18 +01:00
..
2012-12-14 10:52:28 -08:00
2011-03-14 17:37:05 -07:00
2013-01-17 10:42:44 -08:00
2013-03-05 14:27:15 -08:00
2013-03-04 07:38:32 -08:00
2013-03-05 14:27:15 -08:00
2013-03-05 14:27:16 -08:00
2012-12-29 11:19:14 -08:00
2013-02-20 20:34:34 +01:00
2013-03-05 23:47:35 -08:00
2013-03-03 17:26:38 -08:00
2013-01-18 15:39:08 -08:00
2011-03-14 17:37:05 -07:00
2013-03-05 14:27:15 -08:00
2013-02-28 23:11:47 +01:00
2013-03-06 14:31:22 +04:00
2013-02-27 16:37:10 -08:00
2013-03-05 12:47:57 +04:00
2011-03-14 17:37:05 -07:00
2013-03-05 14:27:15 -08:00
2013-03-02 23:13:35 +01:00
2012-12-28 16:42:51 +01:00
2013-02-27 16:29:36 -08:00
2013-03-06 16:15:18 +01:00
2013-01-30 04:24:58 +01:00
2013-02-22 16:30:27 -08:00
2013-01-16 16:53:11 +01:00
2012-06-19 14:07:48 -07:00
2013-03-01 17:36:47 -08:00
2013-03-03 15:28:45 -08:00
2013-03-01 17:36:47 -08:00
2012-12-13 17:00:22 -08:00
2012-06-28 10:14:03 -07:00
2013-02-15 16:11:05 -08:00
2013-03-05 14:27:15 -08:00
2013-02-28 23:11:47 +01:00
2012-10-30 09:16:13 -07:00
2012-12-26 14:54:56 -08:00
2012-03-03 23:48:57 -08:00
2013-03-05 14:27:15 -08:00