Socket leak on accept.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4144 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -605,6 +605,7 @@ JSValue _socket_accept(JSContext* context, JSValueConst this_val, int argc, JSVa
|
||||
}
|
||||
client->_connected = true;
|
||||
tf_task_resolve_promise(socket->_task, promise, client->_object);
|
||||
JS_FreeValue(context, client->_object);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user