From 8f0c83dbf90faa982624e005ce76ff0fd5c77153 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 1 Feb 2026 18:55:53 +0100 Subject: [PATCH] Fix View ptr assignment. --- profiler/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 6aab51d4..dca06f5c 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -1299,7 +1299,7 @@ static void DrawContents() viewShutdown.store( ViewShutdown::False, std::memory_order_relaxed ); if( reconnect ) { - view = std::make_unique( RunOnMainThread, reconnectAddr.c_str(), reconnectPort, SetWindowTitleCallback, SetupScaleCallback, AttentionCallback, s_achievements ); + view.store( std::make_unique( RunOnMainThread, reconnectAddr.c_str(), reconnectPort, SetWindowTitleCallback, SetupScaleCallback, AttentionCallback, s_achievements ), std::memory_order_release ); } break; default: