Changes between Version 8 and Version 9 of pjsip-doc/intro_pjsua2


Ignore:
Timestamp:
Feb 6, 2014 9:25:20 AM (10 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/intro_pjsua2

    v8 v9  
    5252For platforms that require polling, the PJSUA2 module provides its own worker thread to poll PJSIP, so it is not necessary to instantiate own your polling thread. Having said that the application should be prepared to have the callbacks called by different thread than the main thread. The PJSUA2 module itself is thread safe. 
    5353 
    54 Problem with Garbage Collection 
    55 ------------------------------- 
     54Problems with Garbage Collection 
     55-------------------------------- 
    5656Garbage collection (GC) exists in Java and Python (and other languages, but we don't support those for now), and there are some problems with it when it comes to PJSUA2 usage: 
    5757 
     
    6161Due to problems above, application '''MUST immediately destroy PJSUA2 objects using object's delete() method (in Java)''', instead of relying on the GC to clean up the object. 
    6262 
    63 For example, to delete an Account, it's '''NOT''' enough to just let it go out of scope. Application MUST delete it manually like this (in Java): 
     63For example, to delete an Account, it's **NOT** enough to just let it go out of scope. Application MUST delete it manually like this (in Java): 
    6464 
    6565.. code-block:: c++