don't silently convert waitfor_event from function to event
don't leak platInfo