Spark-681 Synthetic creat works ok if heartbeats are ticking.
This commit is contained in:
1 parent
d5f90772fe
commit
a32fc2ed17
2 files changed
+5
-2
No files matched your search
@@ -269,8 +269,10 @@ DispatcherTimer::~DispatcherTimer() { }
|
||||
|
||||
void DispatcherTimer::start()
|
||||
{
|
||||
_me->running = true;
|
||||
_me->schedule();
|
||||
if (!running()) {
|
||||
_me->running = true;
|
||||
_me->schedule();
|
||||
}
|
||||
}
|
||||
|
||||
void DispatcherTimer::stop()
|
||||
|
||||
@@ -115,6 +115,7 @@ struct ExchangeSimApplication::PImpl {
|
||||
};
|
||||
|
||||
ExchangeSimApplication::ExchangeSimApplication() : me(new PImpl()) {
|
||||
me->timer.start();
|
||||
me->consumer.on_security(
|
||||
[this](api::Security const &s, md::MDConsumerHandle h) {
|
||||
on_new_security(s, h);
|
||||
|
||||
Reference in new issue
Block a user