Fix render stop and high load due to timing issue

Authored by tobiasdeiminger on Jan 29 2020, 10:19 PM.

Description

Fix render stop and high load due to timing issue

Text generation is connected to pixmap generation thread started signal.
However the signal may have been emitted faster than the connect could took place,
and because started is fired only once, the connected lambda never got executed.

generatePixmap tried to sync up with that never happening text generation anyway
by means of scheduling itself. This lead to a infinite loop via a no more sleeping QEventLoop.

Fixed by moving the connect in front of starting the thread.

BUG: 396137
BUG: 396087
CCBUG: 403643

Details

Committed
tobiasdeimingerJan 30 2020, 8:15 AM
Parents
R223:7e4026779054: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown