Resource leak in TTrayIcon on Mac OS X
Original Reporter info from Mantis: Yury
-
Reporter name: Yuriy Sydorov
Original Reporter info from Mantis: Yury
- Reporter name: Yuriy Sydorov
Description:
There is severe resource leak while executing TCarbonWSCustomTrayIcon.InternalUpdate().
Both image and menu resources leak.
Steps to reproduce:
Assign image and some menu to a trayicon component. Then do the code:
for i:=1 to 1000 do
TrayIcon1.Hint:=Format('Hint %d', [i]);
After each execution of the loop, the process memory usage will be increased by several megabytes.
Mantis conversion info:
- Mantis ID: 18836
- OS: Mac OS X
- OS Build: 10.6
- Platform: Mac
- Version: 0.9.29 (SVN)
- Monitored by: » Yury (Yuriy Sydorov)