2 ms·defer and finally are two different things. finally may not be the last thing the function does.by bb88 4y agodefer and finally are two different things. finally may not be the last thing the function does.