When waiting asyncs exist after processing one,
server should watch for the event POLLIN again.
Reselecting POLLIN would occur in async_destroy,
if the contents of async remains.
It had worked on wine-6.7.
Signed-off-by: Dongwan Kim <kdw6485(a)gmail.com>
---
server/async.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/server/async.c b/server/async.c
index 1a564ff1a69..ec3396c930f 100644
--- a/server/async.c
+++ b/server/async.c
@@ -512,12 +512,7 @@ void async_set_result( struct object *obj, unsigned int status, apc_param_t tota
async_reselect( async );
if (async->queue)
- {
- async->fd = NULL;
- list_remove( &async->queue_entry );
- async->queue = NULL;
release_object( async );
- }
}
}
--
2.30.2