I went ahead and committed it.  It was a one-line change.  So, it'll
be easy to back out if you so desire.  But, in my application, it
solved the hanging problem.  So, I resolved/closed the JIRA issue.

On Tue, Jun 10, 2008 at 8:50 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> I've created:
>
> https://issues.apache.org/jira/browse/VFS-211
>
> and assigned it to myself.  If you don't mind, I'll add in this
> feature and commit it (assuming it doesn't break anything of course).
> :)
>
>
> On Tue, Jun 10, 2008 at 8:45 AM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> It's on the Session API (since 0.1.31 I believe).  There's a new
>> setDaemonThread() method.
>>
>> On Tue, Jun 10, 2008 at 8:40 AM, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
>>> Hi!
>>>> Shouldn't the SFTP provider be calling setDaemon(true) on the JSch
>>>> session?  I am running a simple application which just lists the
>>>> contents of a directory and it hangs after it's done because there's a
>>>> non-daemon thread running (looks like a keep-alive thread from JSch).
>>>>
>>> Is the JSch session inherited from Thread, or the flag exposed?
>>> If there is a possibility to set this flag from VFS we should do it.
>>>
>>> Ciao,
>>> Mario
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to