This repository was archived by the owner on Feb 8, 2021. It is now read-only.
Commit f39876a
committed
XPod: doStopPod: call removeFromSandbox with every p.containers
Some resource for containers needs to be released before p.sandbox.Shutdown.
Add this patch to call removeFromSandbox with every p.containers
before p.sandbox.Shutdown to release the resource.
Signed-off-by: Hui Zhu <teawater@hyper.sh>1 parent 58697a4 commit f39876a
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
385 | 392 | | |
386 | 393 | | |
387 | 394 | | |
| |||
0 commit comments