Philosophical considerations of cessation of brain activity

I’m unfamiliar with the philosophies of personal identity. Which theories would postulate that a total interruption of consciousness/​neural activity (e.g., a coma), but where the brain itself is completely undamaged, would be “death”, in the sense of the person before the coma wouldn’t be able to feel what happens after it?

Reason is I need to make a decision about elective surgery under general anesthesia imminently. I’m concerned about the possibility that from my current perspective I will die as I’m put under even though from everyone else’s perspective I’ll wake up all the same, as I would be “rebooted” into a new “session” of consciousness and my current session won’t be able to access/​experience what happens in the new one the same way I can feel what happens to me 5 minutes from now. Of course this may happen every night during sleep. However, the risk is much greater under general anesthesia because of the much more complete loss of activity and information processing much like a coma, e.g. even during the deepest stage of sleep perhaps only 1 brain hemisphere sleeps at a time. Hence a coma being a much better proxy for this question: if sleep is okay anesthesia may not be, but if a coma’s okay it definitely is too.

I realize LWers are broadly on board with cryonics and thus unconcerned with this, but I’d still like to know which specific theories are more in line with my intuitive concerns.