https://bugs.documentfoundation.org/show_bug.cgi?id=115420

--- Comment #35 from Mike Kaganski <mikekagan...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to