diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-08-05 10:58:02 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-08-05 10:58:02 +0000 |
commit | 1f6819c37e9542a7995bc60415c052ba9c7e0c28 (patch) | |
tree | c96ad796f03a363813b64af29ee0d9091e139e14 /pjlib/src/pj/os_core_symbian.cpp | |
parent | 78b3a41d1e054c7cd2f29ff66b3aef258ab87010 (diff) |
Ticket #931: Logging function may infinitely recursively calls itself on Windows Mobile (thanks Emil Sturniolo for the report)
- Added feature to temporarily suspend the logging facility while we're in the pj_log() function. The suspension will be thread specific if the platform supports it.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/os_core_symbian.cpp')
-rw-r--r-- | pjlib/src/pj/os_core_symbian.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pjlib/src/pj/os_core_symbian.cpp b/pjlib/src/pj/os_core_symbian.cpp index 983ce88a..1419fbdc 100644 --- a/pjlib/src/pj/os_core_symbian.cpp +++ b/pjlib/src/pj/os_core_symbian.cpp @@ -342,7 +342,10 @@ PJ_DEF(pj_status_t) pj_init(void) err = os->Initialize(); if (err != KErrNone) return PJ_RETURN_OS_ERROR(err); - + + /* Init logging */ + pj_log_init(); + /* Initialize exception ID for the pool. * Must do so after critical section is configured. */ |