diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-12 18:02:22 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-12 18:02:22 -0700 |
| commit | 85593e678c35c13ed2d37f7f22aa41b0b8d70825 (patch) | |
| tree | cad8a43cc83b4f4728134c380f7924bc8601f5fe /src/platform | |
| parent | ae920f90e2fa169db8867c722239069d750a1def (diff) | |
| download | nng-85593e678c35c13ed2d37f7f22aa41b0b8d70825.tar.gz nng-85593e678c35c13ed2d37f7f22aa41b0b8d70825.tar.bz2 nng-85593e678c35c13ed2d37f7f22aa41b0b8d70825.zip | |
Attempts to minimize races, remove unused nni_sock_mtx function.
We still have endpoint related races apparently; we need to examine
the possibility of handling endpoints much like we do pipes, which seem
to be race free.
Diffstat (limited to 'src/platform')
| -rw-r--r-- | src/platform/windows/win_ipc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/windows/win_ipc.c b/src/platform/windows/win_ipc.c index be1a98a1..dff65941 100644 --- a/src/platform/windows/win_ipc.c +++ b/src/platform/windows/win_ipc.c @@ -528,6 +528,7 @@ nni_plat_ipc_ep_connect(nni_plat_ipc_ep *ep, nni_aio *aio) void nni_plat_ipc_ep_fini(nni_plat_ipc_ep *ep) { + nni_plat_ipc_ep_close(ep); if (ep->p != INVALID_HANDLE_VALUE) { CloseHandle(ep->p); ep->p = NULL; |
