Skip to content

[Bug] Crashed when closing the ssh tab #4

@rabbitLove520

Description

@rabbitLove520

Description

A clear and concise description of the bug.

Steps to Reproduce

  1. Go to '...'
  2. Click on '...'
  3. See error

Expected Behavior

Actual Behavior

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: Windows 11
  • SshManager Version: v1.0.5
  • .NET Version: 10.0.201
  • WebView2 Version: 100.0.1185.36

Logs

If applicable, include relevant log entries from %LocalAppData%\SshManager\logs\.

Application: SshManager.App.exe
CoreCLR Version: 9.0.1426.11910
.NET Version: 9.0.14
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (Client not connected.)
 ---> Renci.SshNet.Common.SshConnectionException: Client not connected.
   at Renci.SshNet.Session.SendMessage(Message message)
   at Renci.SshNet.Channels.Channel.SendMessage(Message message)
   at Renci.SshNet.Channels.ChannelSession.SendSignalRequest(String signalName)
   at Renci.SshNet.SshCommand.CancelAsync(Boolean forceKill, Int32 millisecondsTimeout)
   at Renci.SshNet.SshCommand.<>c.<ExecuteAsync>b__43_0(Object cmd)
   at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
   --- End of inner exception stack trace ---
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
   at System.Threading.TimerQueue.FireNextTimers()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions