diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-11 09:06:38 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-11 09:06:38 -0800 |
commit | 3f9ab807eeb8ad325601951101feb916fdfe655c (patch) | |
tree | 5536a68b95b9e8b7712fee39b94c9b16927214bd | |
parent | 0b7516cf904517e79106f20d3bc72f26ce42fc1c (diff) |
Stop stomping on Diversions_ in subclasses.
-rw-r--r-- | MobileCydia.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index dfbc537..215b91e 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4522,7 +4522,9 @@ static _H<NSMutableSet> Diversions_; return request_ == nil ? nil : [NSURL URLWithString:[NSString stringWithFormat:@"cydia://url/%@", [[request_ URL] absoluteString]]]; } -+ (void) initialize { ++ (void) _initialize { + [super _initialize]; + Diversions_ = [NSMutableSet setWithCapacity:0]; } |