NSThread: Add warning when truncating thread name

This commit is contained in:
hmelder 2024-09-02 14:51:59 +02:00 committed by rfm
parent b177fa5f01
commit 7667d0c3c4

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