Skip to content
Snippets Groups Projects
Commit e50bde9f authored by Craig Tiller's avatar Craig Tiller
Browse files

Merge pull request #2206 from nicolasnoble/windows-needs-to-kick-its-pollset-on-shutdown

On pollset shutdown, we need to unconditionally start the kick cascade.
parents 66daf234 fcb16e1a
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "src/core/iomgr/alarm_internal.h" #include "src/core/iomgr/alarm_internal.h"
#include "src/core/iomgr/iomgr_internal.h" #include "src/core/iomgr/iomgr_internal.h"
#include "src/core/iomgr/pollset.h"
#include "src/core/iomgr/pollset_windows.h" #include "src/core/iomgr/pollset_windows.h"
/* There isn't really any such thing as a pollset under Windows, due to the /* There isn't really any such thing as a pollset under Windows, due to the
...@@ -54,6 +55,7 @@ void grpc_pollset_init(grpc_pollset *pollset) { ...@@ -54,6 +55,7 @@ void grpc_pollset_init(grpc_pollset *pollset) {
void grpc_pollset_shutdown(grpc_pollset *pollset, void grpc_pollset_shutdown(grpc_pollset *pollset,
void (*shutdown_done)(void *arg), void (*shutdown_done)(void *arg),
void *shutdown_done_arg) { void *shutdown_done_arg) {
grpc_pollset_kick(pollset);
shutdown_done(shutdown_done_arg); shutdown_done(shutdown_done_arg);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment