fix(dashboard): capture worlds route holds the cached capture by shared pointer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 08:01:44 -05:00
parent b7f8e2ba5d
commit bd13297947

View File

@@ -691,7 +691,7 @@ namespace CaptureReplay {
[](HTTPReply& reply, const HTTPContext& context) {
const auto session = FindSession(context, reply);
if (!session) return;
const auto* cached = Load(*session, reply);
const auto cached = Load(*session, reply);
if (!cached) return;
JsonSuccess(reply, { {"worlds", WorldsJson(*cached)} });
});