Closed zaevi closed 1 year ago
Please use it like this:
var package = downloader.Package;
or
var package = (sender as DownloadService).Package;
sender
object is the same with _
in your codes ;)
Please use it like this:
var package = downloader.Package;
or
var package = (sender as DownloadService).Package;
sender
object is the same with_
in your codes ;)
It's same reference and it still throws the exception.
Seems package.Storage
has been disposed so it can't be serialized.
This issue was fixed with the test. Please test the Downloader new version 3.0.3. If you have the problem again, so re-open this issue. Thank you for reporting and the pull request.
Hi, I want to serialize download package when downloading is cancelled or failed, so that I can resume downloading next time. But when serializing it throws
ObjectDisposedException
: