So we need to add two things. One is that if you are in combat, and you logout, you have to wait like 20 seconds or something, to prevent people from just logging out in the middle of combat. The other is that once you login, you get a short period (like 10 seconds) of immunity from aggroing mobs. We can’t really add the latter without the former, or everyone will just abuse it. They are both on my list.
Of course, the fact that you crashed is really the ultimate problem here, and eve if we implemented both of those you likely would have died since you would have still been logged-in from a server standpoint for 20 seconds not defending yourself.
If you are crashing frequently then please be sure to drop by this thread so we can keep gathering info: Megathread: Frequent Crashes