fix memory leave and hang when handle_error
This commit is contained in:
parent
e3946383f4
commit
26e3c21c87
4 changed files with 12 additions and 4 deletions
|
|
@ -414,7 +414,7 @@ static int handle_output(endpoint_t* ep)
|
|||
|
||||
static int handle_error(endpoint_t* ep)
|
||||
{
|
||||
iomgr_t* iomgr = (iomgr_t*)ep->owner;
|
||||
iomgr_t* iomgr = (iomgr_t*)ep->iomgr;
|
||||
|
||||
if (iomgr != NULL) {
|
||||
iomgr_unmonitor(iomgr, ep);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue