Is it safe to call disconnect? (General questions)
Hi,
I am using wodSSH COM component (2.2.0.3). I have a question on whether it is safe to call a disconnect if the client has not yet connected to the remote server.
This I think is a common scenario. Assuming that a user has initiated a connection to the remote server, but s/he cancels the connection before the actual connection has established but after connect command has been issued.
When I do this my app crashes and the debugger shows me invalid heap address passed. The call stack shows that DllUnregisterServer has been called from with the wodssh.dll.
Can you please tell me what am I doing wrong. Also please note that the thread that created the component is different from the thread from where the cancel operation was called.
Thanks in Advance.
[:smile:]