sindresorhus / Settings

⚙ Add a settings window to your macOS app in minutes
MIT License
1.45k stars 100 forks source link

Small memory leak at init #49

Closed lwouis closed 3 years ago

lwouis commented 4 years ago

Hi,

I was profiling my app for memory leaks, and it seems that Preferences is generating some during it's init:

image

Could you please have a look?

Thanks!

sindresorhus commented 4 years ago

I have no been able to reproduce the leak in the latest version of Preferences in Xcode 11.5. So either it was indirectly fixed or the example app doesn't trigger what causes the memory leak.