mirror of
https://github.com/defold/extension-websocket.git
synced 2025-09-30 01:02:18 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f5aa57452f | ||
|
7e89b8a685 |
@@ -509,6 +509,12 @@ static dmExtension::Result AppFinalize(dmExtension::AppParams* params)
|
||||
|
||||
static dmExtension::Result Finalize(dmExtension::Params* params)
|
||||
{
|
||||
while (!g_Websocket.m_Connections.Empty())
|
||||
{
|
||||
WebsocketConnection* conn = g_Websocket.m_Connections.Back();
|
||||
g_Websocket.m_Connections.Pop();
|
||||
DestroyConnection(conn);
|
||||
}
|
||||
return dmExtension::RESULT_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user