Comments (4)
In DrawHandler.java:
原因:线程退出的判断条件 isInterrupted(), 会在thread 抛出InterruptedException 后重新置为false,而这个while 里的代码可能会抛出该exception(waitRendering里 wait),之前的代码在内部捕获了该异常,然后代码继续往下走,进行下一次循环判断, 此时 isInterrupted() == false了,所以线程并未退出,导致了该bug。
from danmakuflamemaster.
谢谢,我修改下
from danmakuflamemaster.
ctiao@06f5556
已修复
from danmakuflamemaster.
ctiao/DanmakuFlameMaster#65
from danmakuflamemaster.
Related Issues (20)
- 多次进入退出弹幕页面崩溃
- 自定义数据解析器,不显示弹幕,急求,谢谢 HOT 2
- padding可否加上设置左上右下,我看源码只能共用padding,不太灵活
- 使用DanmakuTextureView的实现无法显示弹幕
- #00 pc 00000f9c /data/data/com.liqiang365app.musen/app_p_n/1249074292/libndkbitmap.so (createSkBitmap(ndkbitmap_object_t*, int, int, int)+19) [armeabi-v5te]
- 如何实时修改字体大小,颜色等 HOT 1
- 弹幕底部出现小白点
- DrawHandler cause Choreographer.mDisplayEventReceiver leak
- 空指针了Attempt to invoke virtual method 'void androidx.constraintlayout.solver.widgets.ConstraintWidget.n0()' on a null object reference
- Fuckboy HOT 1
- ViewCacheStuffer 只回调create,不回调bindviewholder
- 横竖屏切换后,弹幕会从头开始滚动且会出现重叠的情况 HOT 1
- 使用DanmakuViewHolder自定义样式会出现偶尔重复,偶尔鬼畜
- 弹幕库不维护了吗?有其他库可以使用吗? HOT 4
- jcenter关闭了 这个库该怎么用 HOT 1
- ViewCacheStuffer运行一段时间后,所有itemView的长度都相等了,itemView会有显示不全的情况
- libndkbitmap.so异常 HOT 1
- 开发者一定以前一定是搞游戏开发的 HOT 1
- 弹幕点击悬停是怎么实现的
- 部分机型点击弹幕没有回调 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 danmakuflamemaster.