fixed a bunch of shit, might fix renderer ?

This commit is contained in:
JuiceyDev
2026-03-06 19:53:03 +01:00
parent 58780ca7cd
commit 3f489a4202
6 changed files with 21 additions and 20 deletions

View File

@@ -344,7 +344,7 @@ void Socket::SocketInputStreamLocal::close()
{
m_streamOpen = false;
EnterCriticalSection(&s_hostQueueLock[m_queueIdx]);
s_hostQueue[m_queueIdx].empty();
s_hostQueue[m_queueIdx] = std::queue<unsigned char>();
LeaveCriticalSection(&s_hostQueueLock[m_queueIdx]);
}
@@ -392,7 +392,7 @@ void Socket::SocketOutputStreamLocal::close()
{
m_streamOpen = false;
EnterCriticalSection(&s_hostQueueLock[m_queueIdx]);
s_hostQueue[m_queueIdx].empty();
s_hostQueue[m_queueIdx] = std::queue<unsigned char>();
LeaveCriticalSection(&s_hostQueueLock[m_queueIdx]);
}