[paramiko] transport threads not shutting down

Justin Cook jhcook at gmail.com
Wed Mar 19 09:27:56 PDT 2008


I've tried both ways. When the program exits, the classes __del__
method closes the transport. I've even tried atexit handling it. It's
not every time. Just sometimes this happens. Just weird why the socket
module would be destroyed while the thread is still running.

On Wed, Mar 19, 2008 at 4:20 PM, Dwayne Litzenberger <dwayne at oscl.ca> wrote:
> On March 18, 2008 10:30:05 am Justin Cook wrote:
>  > After calling transport.close(), it appears the transport threads are
>  > not stopping in a timely manner.
>
>  Are you explicitly calling transport.close() during normal program execution,
>  or is this during __del__  or atexit processing?


-- 
Justin Cook



More information about the paramiko mailing list