core/telemetry_session: Only create the backend when we really need it

The backend is not used until we decide to submit the testcase/telemetry, and creating it early prevents users from updating the credentials properly while the games are running.
This commit is contained in:
zhupengfei 2019-04-19 22:02:49 +08:00 committed by fearlessTobi
parent 75a8b304d4
commit 10c4f23953
2 changed files with 9 additions and 9 deletions

View file

@ -39,7 +39,6 @@ public:
private:
Telemetry::FieldCollection field_collection; ///< Tracks all added fields for the session
std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields
};
/**