How to make WinSCP.exe auto terminted when the program close

Advertisement

jzu
Joined:
Posts:
11
Location:
Hong Kong

How to make WinSCP.exe auto terminted when the program close

Hi all,

May I know, is there any way in code level, makes the winscp.exe auto quit after the .net program closed?
I've experience that the winscp.exe remain in memory (via task manager), it is because the .net program force closed.
I've used the "using" statement in .net program and call the dispose() method inside, but it seems the dispose method have not been called.

Jackson

Reply with quote

Advertisement

jzu
Joined:
Posts:
11
Location:
Hong Kong

Re: How to make WinSCP.exe auto terminted when the program close

martin wrote:

Thanks for your report.

This bug has been added to the tracker:
https://winscp.net/tracker/1045

Hi prikryl,

Just for my own interested, how do you do that? By using the Windows's API "Job Objects"?

Jackson

Reply with quote

martin
Site Admin
martin avatar

Re: How to make WinSCP.exe auto terminted when the program close

jzu wrote:

Just for my own interested, how do you do that? By using the Windows's API "Job Objects"?
Yes.

Reply with quote

Advertisement

You can post new topics in this forum