Commit 8cb8445
committed
Fix supervisor:terminate/2 spec, add terminate_children/2 spec
`terminate_dynamic_children/1` returns `ok` from `maps:foreach(...)`,
which matches the spec, but `terminate_children/2`, itself lacking a spec,
returns `NChildren` returned by `children_map/2`.1 parent d6df2ca commit 8cb8445
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
1295 | | - | |
| 1295 | + | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | 1298 | | |
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
1561 | | - | |
1562 | | - | |
1563 | | - | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
1567 | | - | |
| 1561 | + | |
| 1562 | + | |
1568 | 1563 | | |
1569 | 1564 | | |
1570 | 1565 | | |
| |||
0 commit comments