macvim-dev / macvim

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

Move from manual reference counting to ARC #1182

Open ychin opened 3 years ago

ychin commented 3 years ago

Apple has introduced ARC (Automatic Reference Counting) a long time ago. However, MacVim still mostly uses manual reference counting, which actually introduces bugs like #1164. ARC will not solve everything but should help reduce this class of bugs, and even the lowest required macOS (10.9 at the moment) has long supported it.

s4y commented 3 years ago

I have started working on this.