fix: added nil check on c.CruSession to prevent crash
Merge pull request #510 from jfolkins/fix_sessregenid

fix: added nil check on c.CruSession to prevent crash