diff --git a/srtcore/api.cpp b/srtcore/api.cpp index 59399a4b3..15c83fa57 100644 --- a/srtcore/api.cpp +++ b/srtcore/api.cpp @@ -3172,7 +3172,7 @@ void* srt::CUDTUnited::garbageCollect(void* p) for (sockets_t::iterator j = self->m_ClosedSockets.begin(); j != self->m_ClosedSockets.end(); ++ j) { - j->second->m_tsClosureTimeStamp = steady_clock::time_point(); + j->second->m_tsClosureTimeStamp = steady_clock::now(); } }