For https://github.com/RecordReplay/backend/issues/5329. We have a way to disable recording by setting the RECORD_REPLAY_DRIVER env var to an invalid value, but it would be clearer if we used a dedicated environment variable for this. This PR also fixes a crash we were hitting when not recording.
For https://github.com/RecordReplay/backend/issues/5329. We have a way to disable recording by setting the RECORD_REPLAY_DRIVER env var to an invalid value, but it would be clearer if we used a dedicated environment variable for this. This PR also fixes a crash we were hitting when not recording.