cbess / CBIntrospector

Visual Debugging Tool. Compatible with the desktop app, View Introspector. Simply, it's a UIView hierarchy viewer library.
MIT License
160 stars 21 forks source link

Fix crash #5

Closed calimarkus closed 11 years ago

calimarkus commented 11 years ago

As soon, as i press space, it crashes. This seems to be the mistake:

CBFileWatcher.m:

- (NSDictionary *)filePathInfo
{
    if (_filePathInfo == nil)
        _filePathInfo = [NSMutableDictionary dictionary];
    return _filePathInfo;
}

You should retain the dictionary. e.g. via the setter:

self.filePathInfo = [NSMutableDictionary dictionary];
nikolaykasyanov commented 11 years ago

Same here

cbess commented 11 years ago

I don't experience the crash, but let me know if this commit works: bc0e46c