We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0060d0 commit 4e410e4Copy full SHA for 4e410e4
1 file changed
Implementation/Core/amc_statesignal.cpp
@@ -86,6 +86,7 @@ namespace AMC {
86
{
87
if (m_pTelemetryInQueueMarker.get() != nullptr) {
88
m_pTelemetryInQueueMarker->finishMarker();
89
+ m_pTelemetryInQueueMarker = nullptr;
90
}
91
92
if (m_pTelemetryInProcessMarker.get () != nullptr) {
@@ -139,9 +140,7 @@ namespace AMC {
139
140
141
bool CStateSignalMessage::hadReactionTimeout(uint64_t nGlobalTimestamp)
142
- uint64_t nInQueueTimestamp = m_pTelemetryInQueueMarker->getStartTimestamp();
143
-
144
- uint64_t nTimeoutTimestamp = nInQueueTimestamp + (uint64_t)m_nReactionTimeoutInMS * 1000;
+ uint64_t nTimeoutTimestamp = m_nCreationTimestamp + (uint64_t)m_nReactionTimeoutInMS * 1000;
145
return (nGlobalTimestamp >= nTimeoutTimestamp);
146
147
0 commit comments