summaryrefslogtreecommitdiff
path: root/android/Module_android.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-04-01 09:00:13 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2020-04-01 09:58:34 +0200
commit55661298bb3e9087a89a08637e4285f090c4e0e8 (patch)
tree533525c0af7629f13a9bd9f587963bfcce215140 /android/Module_android.mk
parenteed94d15a49ad2038a59a3a1bfaa4a66a27ed540 (diff)
tdf#131195 android: Don't destroy doc while loading it
Since the 'refresh()' in 'LOKitThread::loadDocument' is not executed synchronously but posted to the main handler, this needs to be synchronized to prevent the document from being deleted while it's being used. The problem when pressing the "back" button while loading the document was that LOKitThread::closeDocument would cause the document to be deleted while it was still being used, causing a crash on C++ side when using the dangling pointer to the document in function 'doc_getDocumentType' (desktop/source/lib/init.cxx). Change-Id: I37da4c4cf8d787327d72c2f449d9cef5d79223c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91460 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/Module_android.mk')
0 files changed, 0 insertions, 0 deletions