As a developer I often set the playercount of my private testing places to 1 player max. When I leave I expect it to shutdown, but instead it lingers for about 3-4 minutes. If it just immediately closed if there was only 1 player and they left that would be very helpful since I wouldn’t have to go to the site every time and shut down all servers.
I was unable to reproduce this on an empty baseplate. Does this only happen in a certain place?
I’ve personally noticed this in places that run scripts in the ServerScriptService. Not sure if this is connected at all, but, at least that’s what I’ve seen in my experience.
Can you please provide reproduction steps? Do you have to stay in the server a certain amount of time? I am unable to reproduce this when joining an empty place on production.
I have a game:BindToClose(function() hooked up, but the only thing it waits for is for 1 datastore to save. I know it’s working properly because in studio the window freezes for a half second then it prints “Saved” and it’s done.
In my experience this is just a website thing. I click play within 5 seconds of using Alt P and exiting out of previous test session, and don’t have many issues.
Have you tried actually joining it after you exit? In my experience I get kicked out immediately after trying to join it.