diff options
author | Christian Strømme <christian.stromme@digia.com> | 2014-03-17 15:38:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-20 10:36:34 +0100 |
commit | f84e72600e70a0e05b9f81db4b89d2451f5b93c3 (patch) | |
tree | 3cc0b66359138620fb328ed60c53d99da4868896 /examples/touch | |
parent | 84c8e4717c70f0f214f84a5c9430dcc024bf2e8b (diff) |
Android: Check for exception before calling NewGlobalRef().
Calling NewGlobalRef() throws an exception if it gets an invalid ref.
If one of the jni object-calls throws an exception and the returned
reference is invalid, the subsequent call to NewGlobalRef() will trigger
the second exception and the process will be terminated.
Change-Id: I50c622e695542373d5b2eebd911c882e8e0f6bf7
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'examples/touch')
0 files changed, 0 insertions, 0 deletions