Closed foxi69 closed 3 months ago
I expect this is working fine in the latest beta release. I took a look at the code in the 2.0 branch and it's vastly different to the 3.0 branch. I'm not going to investigate bugs in that branch at this point - it's easier to upgrade :)
Thanks for reporting, and i hope the 3.0 release works reliably!
Is it MonoTorrent error or what?
If "createTorrentsProgressForm" is closed, then "cancellationTokenSource.Cancel();" is called, and after this "Logger.LogToForm(mainForm, "cancelled");" (Work until this)
await torrentCreator.CreateAsync(fileSource, torrentFilePath, cancellationTokenSource.Token); - this should get this token and cancel, but nothing happend.
I am using 2.0.7. Sometimes it works, sometimes it doesn't, same code, nothing changed.
Full code: