vcl/source/app/svapp.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 255db21584a24e9e66907b12eb60fba46b527102 Author: Michael Meeks <michael.me...@collabora.com> Date: Fri Mar 11 15:29:12 2016 +0000 vcl: yield more cleanly and do less work for now. Change-Id: Ia3469fe4eb53f73fc85ee3c62db1411f9f4d1fb8 Reviewed-on: https://gerrit.libreoffice.org/23250 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: László Németh <nem...@numbertext.org> Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index a75a6db..a18b91e 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -534,9 +534,8 @@ void Application::Reschedule( bool i_bAllEvents ) void Scheduler::ProcessEventsToIdle() { - int nSanity = 1000; - while(Scheduler::ProcessTaskScheduling(false) || - ImplYield(false, false, 0)) + int nSanity = 100; + while(ImplYield(false, true, 0)) { if (nSanity-- < 0) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits