GDI object leaks in dialogs

Advertisement

koderr
Guest

GDI object leaks in dialogs

Every time "Connecting..." dialog is shown, 1 GDI object is leaked.
Steps to reproduce: create new connection ("New site") for non-existing server, for example FTP on localhost on some random port, enter some random username and password (to prevent WinSCP from asking for username every time). Press login, the "Connecting to..." dialog will be shown briefly and connection will fail and "Connection failed" dialog will be displayed. Note GDI objects count (in Task manager, Process Explorer or any other tool). Press "Reconnect" and wait a few seconds for "Connection failed" dialog. GDI objects counter grows by +1. Repeat.
If you have a tab with remote session open and server goes offline, this can leak 1000s of GDI objects due to reconnection attempts.

8 GDI objects leak in "Login" ("New site") dialog.
Steps to reproduce: Press "New tab" (or Ctrl + N), then close the dialog. GDI objects counter grows by +8.

Reply with quote

Advertisement

You can post new topics in this forum