diff --git a/sources/network/windows/io_service.cpp b/sources/network/windows/io_service.cpp index 929d5b3..a6115b8 100644 --- a/sources/network/windows/io_service.cpp +++ b/sources/network/windows/io_service.cpp @@ -134,7 +134,6 @@ io_service::process_events(void) { __TACOPIE_LOG(debug, "untrack socket"); m_tracked_sockets.erase(it); m_wait_for_removal_condvar.notify_all(); - m_notifier.notify(); } } } @@ -192,6 +191,7 @@ io_service::process_wr_event(const fd_t& fd, tracked_socket& socket) { __TACOPIE_LOG(debug, "untrack socket"); m_tracked_sockets.erase(it); m_wait_for_removal_condvar.notify_all(); + m_notifier.notify(); } }; }