Deploying new versions of scripts?

My script has Durable Objects which can have WebSockets connected to them.

When I deploy a new version of the script is it possible that the old instance is not shutdown immediately and the new one is not started until all the web sockets have been disconnected?
Was this page helpful?