forked from cory/tildefriends
A uv_connect_t is not a handle that can be closed. Fixes a crash.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4701 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
f3518b3d0f
commit
14b7f9237b
@ -1881,10 +1881,6 @@ static void _tf_ssb_connection_destroy(tf_ssb_connection_t* connection, const ch
|
||||
{
|
||||
uv_close((uv_handle_t*)&connection->tcp, _tf_ssb_connection_on_close);
|
||||
}
|
||||
if (connection->connect.data && !uv_is_closing((uv_handle_t*)&connection->connect))
|
||||
{
|
||||
uv_close((uv_handle_t*)&connection->connect, _tf_ssb_connection_on_close);
|
||||
}
|
||||
|
||||
if (JS_IsUndefined(connection->object) &&
|
||||
!connection->async.data &&
|
||||
|
Loading…
Reference in New Issue
Block a user