And from logging the other function gets executed until the end?
yes 100% the function is totally executed