mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 20:44:26 +01:00
If the container has exited, the sender in notifier watching OOM events will be dropped after the loop exited, and recv() from the according receiver will get None. This will lead two problems for get_oom_event rpc all from agent: - return an wrong OOM event. - continuously return OOM events. Fixes: #1369 Signed-off-by: bin <bin@hyper.sh>