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
parent 0ec45f694c
commit 81988d96fe
No known key found for this signature in database
GPG key ID: DD129E108BD09378
2 changed files with 11 additions and 10 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
};
/**