OnlineAccountClient hangs on construction
Bug #1377147 reported by
Marcus Tomlinson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Critical
|
Marcus Tomlinson |
Bug Description
If an application has instantiated a main loop (E.g. In a Qt app via "new QCoreApplicatio
This was picked up when OnlineAccountClient was used from a scope that instantiated a QCoreApplication in order to execute QEventLoops elsewhere in the code, but did not actually use the application event loop.
Related branches
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → High |
tags: | added: qa-daily-testing qasoak |
To post a comment you must log in.
OnlineAccountClient needs to run the internal event loop within its own context to avoid clashing with external main loops. This way, regardless of what event loops exist externally, OnlineAccountClient will operate as expected. This fix also means that the default for the main_loop_select constructor parameter can now be CreateInternalM ainLoop.