--- Comment #35 from Mike Kaganski <> ---
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

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.
Libreoffice-bugs mailing list

Reply via email to