When removing the async calls I ended up wiping information on a callback, so moving...
authorEd Page <eopage@byu.net>
Sun, 10 Jan 2010 03:47:56 +0000 (21:47 -0600)
committerEd Page <eopage@byu.net>
Sun, 10 Jan 2010 03:47:56 +0000 (21:47 -0600)
src/gvoice/state_machine.py

index c33a9c8..c2e43da 100644 (file)
@@ -238,11 +238,11 @@ class UpdateStateMachine(StateMachine):
        @gtk_toolbox.log_exception(_moduleLogger)
        def _on_timeout(self):
                _moduleLogger.debug("%s Update" % (self._name))
+               self._timeoutId = None
+               self._schedule_update()
                for item in self._updateItems:
                        try:
                                item.update(force=True)
                        except Exception:
                                _moduleLogger.exception("Update failed for %r" % item)
-               self._timeoutId = None
-               self._schedule_update()
                return False # do not continue