Where is the RC Signal Loss Handled in the Code?

Hi everyone,
I am having an issue with PX4 going into Land Mode for Fixed Wing if GPS and RC Signal is Lost. I have tried changing parameters and settings, but none of them would fix my issue.

I would like to add my own piece of Code to handle this specific case, but can not find where the lost RC Connection Case is handled. I am running on V1.13.2, have searched through most of the firmware, and would have expected it to be handled in the commander.cpp, but can not find it there.

Thanks in advanced!