process: fix Thread::cullEvent to destroy the correct objects.