Delay population of sync queue on thread start so it doesn't try and reference non-existent tables before the migration has happened

pull/14/head
Sam Bosley 13 years ago
parent e5269074ca
commit 0736191635

@ -172,7 +172,7 @@ public class ActFmSyncThread {
public synchronized void startSyncThread() { public synchronized void startSyncThread() {
if (thread == null || !thread.isAlive()) { if (thread == null || !thread.isAlive()) {
repopulateQueueFromOutstandingTables(); setTimeForBackgroundSync(true);
thread = new Thread(new Runnable() { thread = new Thread(new Runnable() {
@Override @Override
public void run() { public void run() {

Loading…
Cancel
Save