mirror of
https://github.com/schoebel/mars
synced 2024-12-28 09:32:25 +00:00
trans_logger: fix possible endless loop on termination
This commit is contained in:
parent
d8ad1718bb
commit
b0b9723cb2
@ -2569,12 +2569,6 @@ void trans_logger_log(struct trans_logger_brick *brick)
|
||||
_exit_inputs(brick, false);
|
||||
}
|
||||
|
||||
while (brick->inputs[TL_INPUT_LOG1]->is_operating && brick->inputs[TL_INPUT_LOG2]->is_operating) {
|
||||
MARS_DBG("stopped while 2 inputs were active\n");
|
||||
_exit_inputs(brick, false);
|
||||
brick_msleep(1000);
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
_exit_inputs(brick, true);
|
||||
nr_flying = _nr_flying_inputs(brick);
|
||||
|
Loading…
Reference in New Issue
Block a user