Mercurial > hg > orthanc-stone
comparison Framework/Oracle/ThreadedOracle.cpp @ 1099:66e21ef2d657 broker
move comment elsewhere
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Oct 2019 14:58:06 +0200 |
parents | 17660df24c36 |
children | 98cdfe5768a4 |
comparison
equal
deleted
inserted
replaced
1098:17660df24c36 | 1099:66e21ef2d657 |
---|---|
387 return true; | 387 return true; |
388 } | 388 } |
389 else | 389 else |
390 { | 390 { |
391 LOG(INFO) << "Command not enqueued, as the oracle is stopped"; | 391 LOG(INFO) << "Command not enqueued, as the oracle is stopped"; |
392 | |
393 /** | |
394 * Answering "true" below results in a memory leak within | |
395 * "OracleScheduler", as the scheduler believes that the | |
396 * command is still active (i.e. pending to be executed by the | |
397 * oracle), hereby stalling the scheduler during its | |
398 * destruction (check out | |
399 * "sjo-playground/WebViewer/Backend/Leak") | |
400 **/ | |
401 return false; | 392 return false; |
402 } | 393 } |
403 } | 394 } |
404 } | 395 } |
405 } | 396 } |