In an exact opposit situation, what would you do ?
I was in a situation 2 years ago that the employer want to fire me because I and my boss did not get along. The plan was leaked and I knew about this.
But then a big project came along and my boss needed me for that. I thought twice seriously to resign but did not. 6 months later when the project was about over, I was axed.
Comeon, loyalty does not worth a penny. Just 'do' what you think is best.