mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Don't Close TCP Connection/Server on destruction.
If the connection is open when the destructor is called it's a bug! Don't want to try to compensate for bugs.
This commit is contained in:
@@ -117,7 +117,6 @@ Connection::~Connection ()
|
||||
{
|
||||
assert(stream_.recvfd < 0 && "garbage collecting open Connection");
|
||||
assert(stream_.sendfd < 0 && "garbage collecting open Connection");
|
||||
ForceClose();
|
||||
}
|
||||
|
||||
Handle<Value>
|
||||
|
||||
Reference in New Issue
Block a user