fixed race to set the time
authorKevron Rees <tripzero.kev@gmail.com>
Thu, 12 Dec 2013 02:47:05 +0000 (18:47 -0800)
committerKevron Rees <tripzero.kev@gmail.com>
Thu, 12 Dec 2013 02:47:18 +0000 (18:47 -0800)
examples/configwebsocketsink
plugins/dbus/dbusplugin.cpp

index fa36cac..9f55d20 100644 (file)
@@ -3,7 +3,7 @@
                {
                        "name" : "ExampleSouce",
                        "path" : "/usr/lib/automotive-message-broker/examplesourceplugin.so",
-                       "delay" : "1"
+                       "delay" : "6"
                }
        ],
        "sinks": [
index 95222f9..f4c6cba 100644 (file)
@@ -69,8 +69,8 @@ void DBusSink::propertyChanged(AbstractPropertyType *value)
                return;
 
        AbstractProperty* prop = propertyDBusMap[property];
-       prop->updateValue(value->copy());
        mTime = value->timestamp;
+       prop->updateValue(value->copy());
 }
 
 const string DBusSink::uuid()