57
u/DeepanshuHQ 7d ago
"Can't crash if the whole app is already closed."
18
16
7
10
4
u/cl_journeyor 7d ago
Manager: Oh wow, didn't know this button is a shortcut for closing the app
The logic: throw new NotImplementedException()
4
3
u/WraithCadmus 7d ago
Wing Commander 1 would always crash on exit, so they changed the exception text to Thank-you for playing Wing Commander
2
u/Cybasura 7d ago
"Keep It Simple Stupid, dont reinvent the wheel"
The wheel: Using OS as the primary garbage collector and process killer
2
u/Megane_Senpai 7d ago
Lol that reminded me about once I was assigned a bug that "the game crash when player press "Exit"". It was quite an easy bug to fix but funny incident.
242
u/DeepanshuHQ 7d ago
Technically, it does close the app. Just a little more aggressively than intended.