ret = unsubscribe_session_consumed_size_rotation(session,
notification_thread_handle);
if (ret) {
- goto end;
+ goto end_unlock;
}
ret = cmd_rotate_session(session, NULL);
ret = init_thread_state(handle, &thread);
if (ret) {
- goto end;
+ goto error;
}
/* Ready to handle client connections. */