[Libreoffice-bugs] [Bug 115420] Crash using "Close" button for Extension Manager -> Check for Updates dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 24 06:42:27 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=115420
--- Comment #35 from Mike Kaganski <mikekaganski at hotmail.com> ---
Anyway it looks strange that the event objects aren't ref-counted, and not
interlocked for the duration of execution. The OpenGLFlushIdle object is
created in OpenGLSalGraphicsImpl constructor (and is held in unique_ptr); a
naked pointer to it is saved in ImplSchedulerData and put into scheduler task
list, and its usage might happen after the OpenGLFlushIdle has already been
destroyed.
I'd expect it behave more reliably if Task was ref-counted, and its owner would
flag it disposed (but not destruct), so that scheduler knew that the task
should be discarded; and the operations were guarded by a mutex (just an idea).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180224/3329ea63/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list