Check for valid session when detaching to prevent crashes
It is unclear what causes the session to be invalid when detaching
tabs, but there are enough BRs with the same backtraces to confirm it.
For now, check to prevent crashes.
CCBUG: 390736
hindenburg | Mar 8 2018, 4:00 AM |