mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-18 20:10:57 +08:00
优化线程安全问题
This commit is contained in:
@@ -442,7 +442,7 @@ namespace RTC
|
||||
}
|
||||
MS_DUMP(" size: %zu bytes", this->size);
|
||||
|
||||
static char transactionId[25];
|
||||
thread_local static char transactionId[25];
|
||||
|
||||
for (int i{ 0 }; i < 12; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user