Leak in NSViewComponentPeer


#1

Hi,
As far as I can tell, areAnyWindowsInLiveResize() in juce_mac_ NSViewComponentPeer.mm is leaking memory. It needs to be protected with a JUCE_AUTORELEASEPOOL.
With high refresh rate, the leak can be pretty bad.
Could you please confirm / fix ?
Thanks.


#2

Don’t you hit the release pool after every message on the main event loop? Are you seeing any evidence of a leak?