Wakelock never counts down
@bourdakos1 已经在做这个了。
开始于 2016年8月17日。
评估
这个 Issue 还没有评估数据。
描述
Network.forceDataConnection -> onSuccess() has nullchecks. If any of the nullchecks goes off, pduDownloaded.countDown(); is never called so the wakelock hangs forever.
There are several bugs here.
- The nullchecks should not prevent pduDownloaded.countDown(); from being called
- pduDownloaded.countDown(); should have been in a 'try/finally' block so that it is always run, even if return was called earlier
- The pduDownloaded.await(); call should have had a timeout (even a timeout of several minutes) so that it eventually closes itself
Before marking as closed, please search the code for any other calls to await() and make sure that #2 (try/finally) and #3 (await timeout) are applied in each case.
- 主要语言
- Java
- 星标
- 8
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Xlythe/TextManager 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
Xlythe/TextManager#34 ·
-
onSending SMS未关闭
难度 3/5 1-2 天 新手友好度 35/100
Xlythe/TextManager#33 ·
-
Use more robust uri parser for files可能重新可做 @Xlythe 于 3724 天前认领,目前没有进行中的 PR。 未关闭enhancement p4
Xlythe/TextManager#32 · 已指派 1 人 ·
-
Commented out code in TextReceiver.onReceive可能重新可做 @bourdakos1 于 3726 天前认领,目前没有进行中的 PR。 未关闭bug lib p1
Xlythe/TextManager#31 · 已指派 1 人 ·
-
bug lib p2
难度 5/5 一周以上 新手友好度 25/100
Xlythe/TextManager#27 ·
查看 Xlythe/TextManager 的全部 Issue
相似的 Issue
-
status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 78/100
spring-projects/spring-framework#37614 ·
维护者通常 1 天内回复
-
azure-spring azure-spring-aad Client
难度 2/5 1-3 小时 新手友好度 72/100
Azure/azure-sdk-for-java#51046 · 1 个 reaction ·
维护者通常 1 天内回复
-
helm-knative-apply.sh fails with Helm 4可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: triage theme: undefined
难度 2/5 1-3 小时 新手友好度 85/100
jhipster/generator-jhipster#35895 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
oracle/graalvm-reachability-metadata#11659 ·
维护者通常 1 天内回复