The QuitPre event was added in Vim 7.3.544.