I don't really know if there's a better way to do it. If you're going to shut down and refund everyone's purchases, you need to disable purchases at the exact moment you make the announcement, otherwise people will buy things for semi-free knowing they'll get refunded in the future. If you tell game devs before the general public, it's going to leak out. If it leaks out you either need to lie and say it's not shutting down, or announce that it is shutting down, in which case the game devs didn't really get much advance notice.
https://nitter.net/OldeSkuul/status/1575863134857793536
https://nitter.net/burgerbecky/status/1575721820904632320
I don't really know if there's a better way to do it. If you're going to shut down and refund everyone's purchases, you need to disable purchases at the exact moment you make the announcement, otherwise people will buy things for semi-free knowing they'll get refunded in the future. If you tell game devs before the general public, it's going to leak out. If it leaks out you either need to lie and say it's not shutting down, or announce that it is shutting down, in which case the game devs didn't really get much advance notice.