Fix for dangling session pointer in FBAppEvents