Comments (2)
Yea, you'll want to modify the code to make it Arc-compliant if you use it in that environment.
I'm not a fan of ARC, but I'll try to do this for the repo in the near future.
Sent from my iPhone
On Jul 31, 2013, at 8:00, Etienne Samson [email protected] wrote:
I think it's because of Foundation being built with ARC enabled. This makes it so that some objects that weren't going through an autorelease pool now do, causing the NSThread to leak those objects.
malloc_history proof :
ALLOC 0x136429270-0x1364292ff [size=144]: thread_115b04000 |-[VDKQueue
watcherThread:] | -[NSObject(NSObject) autorelease] |
_CFAutoreleasePoolAddObject | CFLog | _CFLogvEx |
_CFStringCreateWithFormatAndArgumentsAux | CFStringCreateCopy |
__CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance |malloc_zone_malloc
FREE 0x136429270-0x1364292ff [size=144]: thread_115b04000 |-[VDKQueue
watcherThread:] | -[NSObject(NSObject) autorelease] |
_CFAutoreleasePoolAddObject | CFLog | _CFLogvEx | _CFRelease |
malloc_zone_free
β
Reply to this email directly or view it on GitHub.
from vdkqueue.
look at #11 β¦
@tiennou you can checkout from my repo and then recompile using ARC, that should fix the leaksβ¦
from vdkqueue.
Related Issues (9)
- addPath: notifyingAbout Flag Issue HOT 2
- How to detect what are changed in the folder HOT 1
- EXC_BAD_ACCESS (SIGSEGV) crash reason HOT 6
- Compiler warnings HOT 5
- symbol(s) not found for architecture x86_64 HOT 6
- Question: Only seems to work for the first notification? HOT 1
- Licensing Issue: When being awesome isn't awesome HOT 3
- Can not monitor a file HOT 2
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 vdkqueue.