[lldb] Correct an assertion name.

This commit is contained in:
John Harrison
2025-07-01 10:26:32 -07:00
parent c8450ea226
commit a79404e50c

View File

@@ -125,7 +125,7 @@ class SocketEvent : public MainLoopWindows::IOEvent {
public:
explicit SocketEvent(SOCKET socket)
: IOEvent((IOObject::WaitableHandle)WSACreateEvent()), m_socket(socket) {
assert(event != WSA_INVALID_EVENT);
assert(m_event != WSA_INVALID_EVENT);
}
~SocketEvent() override { WSACloseEvent((HANDLE)m_event); }