[Debugger] Null check for session in DebuggingService::Cleanup() (#11016)

Fixes BXC#11016