If the death or incompetency of the debtor occurs during a Chapter 7 Bankruptcy, the estate would be administered and the case would continue as usual.  If the case was filed under Chapter 13, the case may be dismissed.  However, if it is possible to continue and is in the best interests of the parties, the case may proceed as usual.