You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking a bit into the code because I noticed the title of a window's struct is not updated. While looking at the code I saw that first the length of the window title is retrieved, then a vec of that size is created and the title loaded into it. Imo this is prone to a race condition: if the window title length changes during the calls (which is of course very unlikely in that short timeframe, but still possible). Or am I mistaken?
The text was updated successfully, but these errors were encountered:
I was looking a bit into the code because I noticed the title of a window's struct is not updated. While looking at the code I saw that first the length of the window title is retrieved, then a vec of that size is created and the title loaded into it. Imo this is prone to a race condition: if the window title length changes during the calls (which is of course very unlikely in that short timeframe, but still possible). Or am I mistaken?
The text was updated successfully, but these errors were encountered: