mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-03 11:23:43 +00:00
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:
@@ -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)} });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user