summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-05 11:00:14 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-05 15:10:20 +0100
commit3d8c159841bcab7365b2bed3df71ed3c15188312 (patch)
tree2048c776c73683b725ec73aacc5fd97223bd2b9c /xmloff
parent73fdc1e11bdb38de212b8bc223f2fbb4fab01083 (diff)
tdf#109085: don't assume MtaOleReq window is still valid at shutdown
The window can be destroyed by e.g. WM_QUERYENDSESSION/WM_ENDSESSION sequence, and then the message MSG_REGCLIPVIEWER handler would not run and the condition would never be set. Since we need to wait for the message processed, let's just use sendMessage which would return only after the message has been processed anyway, and also will return immediately on failure (e.g., window handle invalid). Also this changes other cases where postMessage + wait pattern was used, and removes the condition from MsgContext. Change-Id: Ic12deafbaedd1cc99b9d6145650d99069c618f0e Reviewed-on: https://gerrit.libreoffice.org/62881 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions