c# - Monotorrent: some managers go into Stopping state and never proceed to Stopped -


What exactly is happening? I have pulled this source in my project, hopefully I can diagnose it, but I can use some direction. My impression is that the state of the state touches the contact with the tracker and runs a check on the torrent.

I have started the handler for the torrentstate change and, unfortunately, it will never come from the closed state, which means that I just stop any holder manager I can not and I have seen some discussions on this on the Net to move the files, but there is no response and the project seems a little bit ... stale Do anyone have any experience with this issue?

Finally it took some time to find solutions. If you have a torch tracker that can not connect to it, then the monotransmittance still tries to declare that we have stopped the torrent. This is not a very good idea, especially before waiting for it to wait for feedback.

  If the constructor for the class  stopping mode  (manager.TrackerManager.CurrentTracker! = Null)  , change this row:  
 >   at:  
  if (manager.TrackerManager.CurrentTracker! = Tap & Manager. TrackerManager.CurrentTracker.Status == TrackerState.Ok)    

Comments