Synchronize the gtasks update lists method to prevent conflicts when multiple syncs ongoing

pull/14/head
Sam Bosley 14 years ago
parent 3e7cfc7120
commit db0cde33ff

@ -77,7 +77,7 @@ public class GtasksListService {
}
@SuppressWarnings("nls")
public void updateLists(TaskLists remoteLists) {
public synchronized void updateLists(TaskLists remoteLists) {
readLists();
for(StoreObject list : lists)

Loading…
Cancel
Save