Comments (4)
调用session.invalidateAndCancel()
后,会在session的代理方法didBecomeInvalidWithError
中创建新的session
from tiercel.
上周出现过几次崩溃,创建任务的时候使用了 session.invalidateAndCancel() 后的 session
from tiercel.
还偶尔出现 崩溃
Trapped uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <Tiercel.TRDownloadTask 0x109e03190> for the key path "currentRequest" from <__NSCFBackgroundDownloadTask 0x109e0e870> because it is not registered as an observer.
0 CoreFoundation 0x000000018c861ed0 <redacted> + 256
1 libobjc.A.dylib 0x000000018ba5bf18 objc_exception_throw + 60
2 CoreFoundation 0x000000018c76408c <redacted> + 0
3 Foundation 0x000000018d23ca94 <redacted> + 496
4 Foundation 0x000000018d23c844 <redacted> + 96
5 Tiercel 0x00000001081ab4b0 $S7Tiercel14TRDownloadTaskC15startToDownload33_A7C9FB00241EA47A74A42D56B3A578C4LLyyF + 252
6 Tiercel 0x00000001081a75e0 $S7Tiercel14TRDownloadTaskC14prepareToStart33_A7C9FB00241EA47A74A42D56B3A578C4LLyyF + 300
7 Tiercel 0x00000001081a7438 $S7Tiercel14TRDownloadTaskC5startyyF + 2608
8 Tiercel 0x00000001081c0dd4 $S7Tiercel9TRManagerC13startNextTask33_3ACCD4FEA234297808199F0B298B355BLLyyFyAA6TRTaskCXEfU0_ + 60
9 Tiercel 0x000000010819bad8 $S7Tiercel6TRTaskCs5Error_pIggzo_ACsAD_pIegnzo_TR + 36
10 Tiercel 0x00000001081c3f2c $S7Tiercel6TRTaskCs5Error_pIggzo_ACsAD_pIegnzo_TRTA.122 + 40
11 libswiftCore.dylib 0x0000000108de5b0c $SSTsE7forEachyyy7ElementQzKXEKF + 448
12 Tiercel 0x00000001081c0054 $S7Tiercel9TRManagerC13startNextTask33_3ACCD4FEA234297808199F0B298B355BLLyyF + 856
13 Tiercel 0x00000001081be5d8 $S7Tiercel9TRManagerC9completedyyF + 144
14 Tiercel 0x00000001081afeec $S7Tiercel14TRDownloadTaskC11didComplete4task5errorySo012NSURLSessionC0C_s5Error_pSgtF + 8460
15 Tiercel 0x00000001081cc454 $S7Tiercel17TRSessionDelegateC10urlSession_4task20didCompleteWithErrorySo12NSURLSessionC_So0K4TaskCs0J0_pSgtF + 652
16 Tiercel 0x00000001081cc54c $S7Tiercel17TRSessionDelegateC10urlSession_4task20didCompleteWithErrorySo12NSURLSessionC_So0K4TaskCs0J0_pSgtFTo + 168
from tiercel.
加我qq联系:176516837
from tiercel.
Related Issues (20)
- 运行报错
- 清除
- 多任务下载总进度问题 HOT 2
- 请问多文件下载和批量下载有什么区别呢?
- 下载单个视频,进度一直是0 HOT 5
- 在初始化SessionManager的时候,触发了completion回调 HOT 2
- 最新版本:移动网络4G下下载不了,没有任何回调 HOT 1
- 请问如何给task 拓展一些属性 HOT 1
- 总的进度问题 HOT 2
- 请问借助Tiercel能分片下载吗? HOT 1
- 遇到了企业签以后下载成功,但是没有找到该下载资源 HOT 2
- 后台下载问题 HOT 3
- 不同的流能否按顺序写入同一个文件
- 下载不支持 HOT 1
- 重启APP自动下载问题 HOT 1
- 限速问题 HOT 1
- 没有通过URL删除已下载文件的接口 HOT 1
- 希望大神增加一个 waitsForConnectivity 让使用者来控制断网情况是要等待网络,还是直接失败。 HOT 1
- 后台下载
- VisionPro版本支持 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiercel.