Applications can sometimes delete the active buffer.