Fixed "project-ring.closePreviousProjectBuffers" timing bug