Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion core/windows/RdmaConnectedSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ void RdmaConnectedSession::Destroy()
try {
if (connector.get()) {
OverlappedWrapper overlapped;
HandleHROverlapped(connector->Disconnect(overlapped), connector, overlapped);
// For some reason, EventHandler in Windows waits until RDMA Close is called from Linux's connector session
// before it exits. Adding a timeout to allow the thread to exit earlier.
HandleHROverlappedWithTimeout(connector->Disconnect(overlapped), connector, overlapped, 100);
}
} catch (std::exception&) {
}
Expand Down