From f8a0a0e8bb67b053e79f674738077d5bbed4b307 Mon Sep 17 00:00:00 2001 From: sigurdp Date: Wed, 19 Dec 2018 11:28:52 +0100 Subject: [PATCH] Reference correct local variable when calling deleteLater() --- .../Commands/HoloLensCommands/RicHoloLensSessionManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/HoloLensCommands/RicHoloLensSessionManager.cpp b/ApplicationCode/Commands/HoloLensCommands/RicHoloLensSessionManager.cpp index 55a5549b29..5bda06c430 100644 --- a/ApplicationCode/Commands/HoloLensCommands/RicHoloLensSessionManager.cpp +++ b/ApplicationCode/Commands/HoloLensCommands/RicHoloLensSessionManager.cpp @@ -103,7 +103,7 @@ void RicHoloLensSessionManager::terminateSession() refreshToolbarState(); - m_session->deleteLater(); + sessionToDelete->deleteLater(); } //--------------------------------------------------------------------------------------------------