I develop addon for LibreOffice with custom buttons. Buttons has listeners that are created by libreoffice code somehow with help our XDispatch object. I notised that then I open LibroOffice the following happends:
- All event listeners are created
- All event listeners are deleted and created again one after the other
Why is such recreation happenning?