Corrupted files when crashing while saving

Hey!

So I've been using 4Coder for a while, and I recently found a bug (happened to me twice now). Not sure if you're aware of it

If I'm working on a file, and I'm pressing save and my PC crashes at that exact moment, the file gets corrupted and I can't open it after a reboot.

Good thing I use version control, but you never know what you could lose :)
Oh that's horrible! I haven't gotten to handling file saves carefully with a temp file and swap, as I should, but if you're hitting this problem I'll be sure to address it soon. Thanks for the heads up!