macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.51k stars 683 forks source link

Fix remaining tab crash from not clearing tracking tags correctly #1361

Closed ychin closed 1 year ago

ychin commented 1 year ago

Similar to #1334. The old PSMTabBarControl code has a lot of dubious straggling states regarding the tracking tags. Seems like previous macOS versions tolerated that but in the newer macOS versions, the tags seem to be reused for other purposes and so when you double-remove the tags, you get into trouble.

Related to #1333