]> git.lyx.org Git - features.git/commit
Fix race condition in processFuncRequestQueue
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)
commitdadec50a18d92d24d42e1ccf7474f07a2a66b5b4
treed9d0093d3e1118aef4bfc94519afd3215f7b6674
parent454f56b5f22e6a6e8d2f3ee41a33d1fdee034e4e
Fix race condition in processFuncRequestQueue

The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
src/frontends/qt4/GuiApplication.cpp