IOSAD-72 don't synchronize get_languagelist
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 11 Apr 2018 11:43:20 +0200
changeset 5591c438472f6cd
parent 558 87889e9cacd2
child 560 6bf2a4dd111b
IOSAD-72 don't synchronize get_languagelist
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Wed Apr 11 11:11:50 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Wed Apr 11 11:43:20 2018 +0200
     1.3 @@ -644,9 +644,7 @@
     1.4  - (NSArray<PEPLanguage *> * _Nonnull)languageList
     1.5  {
     1.6      char *chLangs;
     1.7 -    @synchronized(self) {
     1.8 -        get_languagelist(_session, &chLangs);
     1.9 -    }
    1.10 +    get_languagelist(_session, &chLangs);
    1.11      NSString *parserInput = [NSString stringWithUTF8String:chLangs];
    1.12  
    1.13      NSMutableArray<NSString *> *tokens = [NSMutableArray array];