Skip to content
Commit 7eaba583 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

ephy-profile-migrator: Stop spinning when porting form passwords

Use atomic operations to manipulate the counter that tracks the number
of operations we need to achieve, to ensure coherency when the results
are received from different threads.

Also use our own main loop rather than spinning on g_main_context_iteration()
to avoid CPU burning when waiting for completion.

Finally, fix the migrator never returning as the number of operations
was not decreased on the ephy_form_auth_data_store() error path.

https://bugzilla.gnome.org/show_bug.cgi?id=695828
parent 10f300b2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment