event: dump objects before collecting garbage
event: dump objects before collecting garbage

This way we get to dump some object that will be freed by garbage
collection, giving us a bit more info.

Signed-off-by: Yuxuan Shui <7f7e1535bcd10fa942d56a3436533af20f33203f@gmail.com>

yshui/deai,yshui/deai,yshui/deai