matehat / Objective-LevelDB

An Objective-C database library built over Google's LevelDB

Home Page:http://matehat.github.io/Objective-LevelDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash in deleteDatabaseFromDisk method

matthewyan opened this issue · comments

The "path" property may release, May be should retain it in init method

I changed the init function:
image

It's works fine

^noticed the same thing

replace retain with copy

@property (nonatomic, retain) NSString *path; @property (nonatomic, retain) NSString *name;

@property (nonatomic, copy) NSString *path; @property (nonatomic, copy) NSString *name;