MetaTrader4 GDI Objects Leak

 

Hi,

I've discovered an issue with MetaTrader4 - whenever you open a login window and close it, the GDI object count increases by 2.

Can you please confirm and issue a fix?

Thanks.

 

I can confirm similar GDI Object count increase on repeated logins for my install.
However, the count then seems to reduce in number over a period of time, but not quite as low as it started.
Maybe a BG thread garbage collecting?

So, not sure if it's a leak or just lazy tidy-up.

Alpari UK, 4.00 Bld 229 16Nov2010.
Win Vista 32bit Business SP2.
AMD Turion 64 X2 TL-64 2.20GHz

Note: I am just a forum member & have no official status

 

I've checked multiple versions and all have same behavior - this might be by design, I don't know.

You can confirm the bug by opening a GDI objects monitor, and then opening and closing the login window repeatedly - the count increases by 7 on open, and decreases by 5 on close, which leaves 2 objects.

I've compared to other menus, and looks like it's the only one behaving so - this definitely requires a fix as it can cause your operating system to hang if you get left with no free GDI handles.

 

Ok, a quick update - I checked MetaTrader5 and it's working correctly, so this is definitely a bug!

Please fix this ASAP.

Thanks.

 
Can anyone from metaquotes respond regarding this issue?
 
Anyone?
 
bump.
Reason: