NSThread: Add warning when truncating thread name

This commit is contained in:
hmelder 2024-09-02 14:51:59 +02:00
parent 7474bd80e3
commit 538f0ed023

View file

@ -1391,6 +1391,7 @@ unregisterActiveThread(NSThread *thread)
*/
if (i > 15)
{
NSWarnLog(@"Truncating thread name '%s' to 15 characters due to platform limitations", buf);
i = 15;
}
else