Don't stop the time in mtr_timer_timeout, that will be done after testcase or when program exit

parent dd6a9307
...@@ -139,10 +139,8 @@ sub mtr_timer_timeout ($$) { ...@@ -139,10 +139,8 @@ sub mtr_timer_timeout ($$) {
return "" unless exists $timers->{'pids'}->{$pid}; return "" unless exists $timers->{'pids'}->{$pid};
# We got a timeout # We got a timeout, return the name ot the timer
my $name= $timers->{'pids'}->{$pid}; return $timers->{'pids'}->{$pid};
mtr_timer_stop($timers, $name);
return $name;
} }
1; 1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment