summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 03:32:48 +0200
committerLioncash <mathew1800@gmail.com>2019-05-29 04:28:18 +0200
commitb1a4ab2ccc82940f9b1cbf18027ce79a3c23fede (patch)
tree734d7c042ed496cf30e1379005df143c5d0027ae /src/core
parentcore/telemetry_session: Remove usages of the global system accessor (diff)
downloadyuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar.gz
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar.bz2
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar.lz
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar.xz
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.tar.zst
yuzu-b1a4ab2ccc82940f9b1cbf18027ce79a3c23fede.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/telemetry_session.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp
index 4f8aff816..90d06830f 100644
--- a/src/core/telemetry_session.cpp
+++ b/src/core/telemetry_session.cpp
@@ -116,12 +116,11 @@ TelemetrySession::~TelemetrySession() {
auto backend = std::make_unique<Telemetry::NullVisitor>();
#endif
- // Complete the session, submitting to web service if necessary
+ // Complete the session, submitting to the web service backend if necessary
field_collection.Accept(*backend);
if (Settings::values.enable_telemetry) {
backend->Complete();
}
- backend = nullptr;
}
void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader) {