We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f0cb0 commit 7d3e814Copy full SHA for 7d3e814
websocket/src/websocket.cpp
@@ -412,9 +412,7 @@ static void DestroyConnection(WebsocketConnection* conn)
412
free((void*)conn->m_Protocol);
413
414
if (conn->m_Callback)
415
- {
416
dmScript::DestroyCallback(conn->m_Callback);
417
- }
418
419
#if defined(__EMSCRIPTEN__)
420
if (conn->m_WS)
@@ -423,15 +421,11 @@ static void DestroyConnection(WebsocketConnection* conn)
423
421
}
424
422
#else
425
if (conn->m_Connection)
426
427
dmConnectionPool::Close(g_Websocket.m_Pool, conn->m_Connection);
428
429
#endif
430
431
if (conn->m_HandshakeResponse)
432
433
delete conn->m_HandshakeResponse;
434
435
436
free((void*)conn->m_Buffer);
437
0 commit comments