mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Don't decrement virutal event count twice in connect_complete.
This commit is contained in:
parent
3ec65d6984
commit
71b6801421
@ -405,7 +405,6 @@ connect_complete(struct event_overlapped *eo, ev_uintptr_t key,
|
||||
|
||||
EVUTIL_ASSERT(bev_a->bev.connecting);
|
||||
bev_a->bev.connecting = 0;
|
||||
event_base_del_virtual(bev->ev_base);
|
||||
|
||||
if (ok)
|
||||
bufferevent_async_set_connected(bev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user