Merge "library: Simplify subsession_event_wait_done() error path" into tizen