Comments (2)
我在停止repeatedTimer时,调用了SwiftTimer.suspend(),然后就导致了EXC_BAD_INSTRUCTION 。
我注释掉了suspend后,就一切ok了。
然后我搜到了以下thread:
http://stackoverflow.com/questions/9572055/dispatch-source-cancel-on-a-suspended-timer-causes-exc-bad-instruction
大概看了下,还不是很明白,但似乎是说停止timer根本无需调用suspend?
from zen.
麻烦在SwiftTimer的项目处开Issue。然后把完整复现的代码放上来看看。谢谢。
from zen.
Related Issues (17)
- iOS夯实:ARC时代的内存管理中的[self someMethod]; HOT 1
- 关于像素重绘问题 HOT 9
- readonly,readwrie 直接通过声明变量var,声明常量let的方式来指明 HOT 1
- 图形性能离屏渲染 HOT 1
- 非常感谢! HOT 1
- 一处手误 HOT 1
- iOS夯实:ARC时代的内存管理 HOT 1
- 这是一个关于DispatchWallTime的使用问题?如果你能帮助我,真的很感谢 HOT 5
- 错字 找成内存泄漏 HOT 1
- 对于 throttle 的使用场景存在疑问
- Swift学习: 从Objective-C到Swift中有误 HOT 2
- 网络相关 HOT 1
- 关于 swift 中的 atomic,苹果官方,给出了一个替代/模拟 atomic 的方案 HOT 1
- 看了RunLoop的文章,请教一个问题 HOT 1
- apple说的是不能在initialize方法里使用存取器吧,不是init方法吧 HOT 1
- 不懂就问,为何我这里增加target报错呢? 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 zen.