Studio occasionally crashes when closing while publishing

When publishing a game and closing the Studio window with just the right timing (not too fast, but not too slow that you miss the “Studio will close after publishing” dialog), a crash dialog will be thrown after Studio closes.

I can reproduce this by doing the following, but it can be very tricky to get the timing right:

  • Open a published game
  • Move something
  • Publish using File > Publish to Roblox
  • Quickly but not too quickly X out of the Studio window
  • Studio will throw a dialog, then close, then throw a crash dialog

I am using Windows 10.
Here are my log and dump files

I have Safe Studio Updates enabled, but I can reproduce this with and without it disabled.

This doesn’t have any detrimental effect other than being mildly alarming. It looks like the game publishes successfully.