diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-02-15 16:08:35 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-17 13:07:30 +0100 |
commit | 94375d46dc71aa61e408cbcc976e3b097ba553b4 (patch) | |
tree | 4582e752615b20b19cfba575620d5cd8ad47fe8d /src/libipsec/ipsec_processor.c | |
parent | f15c85a487cd6bdfbd3af8e6b034e8ee86201c0f (diff) | |
download | strongswan-94375d46dc71aa61e408cbcc976e3b097ba553b4.tar.bz2 strongswan-94375d46dc71aa61e408cbcc976e3b097ba553b4.tar.xz |
android: Send network change events from a separate thread via JNI
Doing this from the main UI thread (which delivers the broadcast) might
cause an ANR if there is a delay (e.g. while acquiring a mutex in the
native parts). There might also have been a race condition during
termination previously because Unregister() was not synchronized so there
might have been dangling events that got delivered while or after the mutex
in the native parts was destroyed.
Diffstat (limited to 'src/libipsec/ipsec_processor.c')
0 files changed, 0 insertions, 0 deletions