Don't require the application code to explicitly do it if the frame is destroyed before the manager itself.