Fix crash on exit as "Fact" was calling a nullified qgcApp().
Fix crash on exit as "Fact" was calling a nullified qgcApp().

Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol