• Michael Stahl's avatar
    forms: avoid deadlock when setting FontControlModel properties · 6aefcb6a
    Michael Stahl yazdı
    Deadlock found in forms_unoapi on Windows, with
    OGridControlModel::setFastPropertyValue_NoBroadcast() calling event
    handler that tries to lock SolarMutex.
    
    FontControlModel::setFastPropertyValue_NoBroadcast() and its callers in
    3 other classes must not send events via firePropertyChange()
    because they are called by OPropertySetHelper::setFastPropertyValues()
    with its Mutex locked.
    
    It is possible (though sadly quite convoluted) to delay the sending of
    the events by calling setDependentFastPropertyValue() instead.
    
    Change-Id: I0c767cfec01fe1bcaeb1236287b5faf81a2e7441
    6aefcb6a
Adı
Son kayıt (commit)
Son güncelleme
..
qa Loading commit data...
source Loading commit data...
util Loading commit data...
workben/xforms Loading commit data...
AllLangResTarget_frm.mk Loading commit data...
JunitTest_forms_complex.mk Loading commit data...
JunitTest_forms_unoapi.mk Loading commit data...
Library_frm.mk Loading commit data...
Makefile Loading commit data...
Module_forms.mk Loading commit data...
README Loading commit data...