mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00

Since we have no control over when Core might use the callback object, we should retain it indefinetely. This is safer and has no impact. Because Core uses a timer to flush callbacks, it can issue the callbacks for a view after it had been destroyed, thereby segfaulting. Change-Id: I2ef87234d0b4dff83ded320b480abce53188fec4 Reviewed-on: https://gerrit.libreoffice.org/33116 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>