[Ssh-sftp-perl-users] Killing Net::SSH2 objects on win32
Brought to you by:
dbrobins
From: Mark K. <ma...@ra...> - 2010-02-25 15:18:22
|
Hi I am using sftp from Net::SSH2 on windows to upload to linux. With debug on I get these kind of messages Net::SSH2::DESTROY object 0x4726224 Net::SSH2::DESTROY object 0x4586f5c but only when I terminate my daemon, even though I am trying to disconnect/kill the instance of the SSH2 object each time I have finished with it ( at which point I get Net::SSH2::SFTP::DESTROY Net::SSH2::SFTP::DESTROY freeing session only). The next stage will be to create a mockup so I can post the actual code but this will take some time... I just thought I would mention this first in case there is a known gotcha for cleaning up Net::SSH2 objects either on win32 or generally? (Note I am fairly clueless on networky stuff in general - pls be patient :/). Thanks Mark |