aboutsummaryrefslogtreecommitdiff
path: root/src/paths.cc
diff options
context:
space:
mode:
authorRodrigo Arias <rodarima@gmail.com>2024-08-07 03:28:12 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-08-07 20:50:51 +0200
commitb298347fdcaee0d44b7b0b39f9764fba4cf7415c (patch)
tree6584044bc2efe5e4c803fc97029dcd6636e1adc3 /src/paths.cc
parentd156863f8b4a08d0487b22f2ab9ac2d5809539ed (diff)
Stop the layouting loop after 1000 iterations
Prevents Dillo from hoarding the CPU due to an infinite loop in the layouting. We also return the control to FLTK to update the screen and process events each 100 iterations, to keep the window responsive. It doesn't fix the root cause of the github-infinite-loop test, but it does allow the rendering to finish with no differences with the reference test.
Diffstat (limited to 'src/paths.cc')
0 files changed, 0 insertions, 0 deletions