Possible Memory leak in SshCommand

May 8, 2012 at 2:36 AM

Hey Guys

 

Love the work you have done. been haveing a few memory leak issues and after running my app through a memory profiler its come back saying the following

 

Disposed instances with direct EventHandler roots 

One type has instances that are disposed and directly rooted by an EventHandler. This often indicates that an EventHandler has not been properly removed and is a common cause of memory leaks.
Investigate the type below for more information.
Renci.SshNet.SshCommand

Direct EventHandler roots 

One type has instances that are directly rooted by an EventHandler. This can indicate that an EventHandler has not been properly removed.
Investigate the type below for more information.
Renci.SshNet.SshCommand

Disposed instances 

6 types have instances that have been disposed but not GCed.
Investigate the types below for more information.
SafeWaitHandle, MySqlConnection, Renci.SshNet.Session, Renci.SshNet.SshClient, SafeCloseSocket.InnerSafeCloseSocket, ParallelForReplicatingTask

 

Is this a known bug? or am i not using the class correctly

 

Thanks