IOSAD-50 adds comment IOSAD-50
authorbuff <andreas@pep-project.org>
Fri, 20 Oct 2017 00:21:46 +0200
branchIOSAD-50
changeset 287640d621c9dbf
parent 286 3dd765037407
child 288 a96780f56daa
IOSAD-50 adds comment
pEpObjCAdapter/PEPSession.h
pEpObjCAdapter/PEPSession.m
     1.1 --- a/pEpObjCAdapter/PEPSession.h	Thu Oct 19 16:37:37 2017 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSession.h	Fri Oct 20 00:21:46 2017 +0200
     1.3 @@ -24,6 +24,8 @@
     1.4  
     1.5   Note: You must call `cleanup()` once before your process gets terminated to be able to gracefully shutdown.
     1.6   It is the clients responsibility not to make any calls to PEPSession after calling cleanup.
     1.7 +
     1.8 + Also: The Engine requires that the first session is created on the main thread. It is the responibility of the client to call PEPSession init once on the main thread before any other thread is calling it.
     1.9   */
    1.10  @interface PEPSession : NSObject
    1.11  
     2.1 --- a/pEpObjCAdapter/PEPSession.m	Thu Oct 19 16:37:37 2017 +0200
     2.2 +++ b/pEpObjCAdapter/PEPSession.m	Fri Oct 20 00:21:46 2017 +0200
     2.3 @@ -19,7 +19,7 @@
     2.4  {
     2.5      self = [super init];
     2.6      if (self) {
     2.7 -        // Trigger provider to make sure a internal session is kept for the current thread
     2.8 +        // Trigger provider to make sure a internal session is kept for the current thread.
     2.9          [PEPSessionProvider session];
    2.10      }
    2.11      return self;