Commit 1cd5e6d
authored
events_enrich: do not try to close nil channel (#2000)
Fixes: #1999
Commit 9be596e ("enrich: fix lock in cleanup logic (cgroup_rmdir)...")
added a channel closure for the cgroup_rmdir but, if container was
started before tracee, the channel might not exist. Check for channel
existance before closing it.1 parent 9639325 commit 1cd5e6d
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | | - | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
0 commit comments