mirror of https://github.com/schoebel/mars
infra: remove timeout on brick deletion
in any case, infinite waiting is better than bombing due to deallocated memory where threads try to continually work on.
This commit is contained in:
parent
43a6c2239c
commit
3f4e86427d
|
@ -1099,8 +1099,7 @@ int mars_kill_brick(struct mars_brick *brick)
|
|||
}
|
||||
|
||||
// start shutdown
|
||||
//status = set_recursive_button((void*)brick, BR_FREE_ALL, 10 * HZ);
|
||||
status = set_recursive_button((void*)brick, BR_FREE_ONE, 10 * HZ);
|
||||
status = set_recursive_button((void*)brick, BR_FREE_ONE, 0);
|
||||
|
||||
done:
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue