Deleting the host will make pH a dangling pointer, so remove it from mTabMap first.