Comments (2)
谢谢你的反馈,测试后的确发现有这个问题。 把崩溃的地方改写到主线程即可。考虑的性能方面的因素,我改一版后提交一下。 谢啦~
from ghconsole.
大兄弟你好,多线程打印存在的崩溃问题已经解决。
原因是多线程同时去操作GHConsole里面的全局变量导致线程不安全,资源存在争夺情况。
解决方法是加了一把锁NSConditionLock(性能方面考虑现在已改成NSLock) 保证线程安全。
thanks.
from ghconsole.
Related Issues (12)
- 如果有搜索功能就更好了 HOT 1
- 如果UIWindow上已经加过东西后, 貌似就不显示了 HOT 4
- iOS13 显示异常 HOT 2
- 发现几个bug HOT 1
- swift无法使用宏定义,GGLog HOT 1
- 我是用了,只显示一下就再也不显示了 HOT 3
- 太棒了
- iphone7p 有navigation的显示有问题,整个屏幕上移了 HOT 1
- iOS 8系统上状态栏不显示 HOT 3
- 存在几个问题 HOT 1
- Implicit declaration of function 'GGLog' is invalid in C99 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 ghconsole.