Fix typo in legacy loader: correctly send APP_SHUTDOWN notification