Improves sourcemap path handling with pathdiff

This commit is contained in:
Joe 2026-02-09 23:31:44 -06:00
parent 80b8331008
commit 181a003ad2
13 changed files with 409 additions and 35 deletions

View file

@ -691,7 +691,11 @@ function App:startSession()
-- different one that may have replaced it (e.g., auto-reconnect race).
local timeoutSession = serveSession
task.delay(30, function()
if self.serveSession ~= nil and self.serveSession == timeoutSession and Settings:get("oneShotSync") then
if
self.serveSession ~= nil
and self.serveSession == timeoutSession
and Settings:get("oneShotSync")
then
Log.warn("One-shot sync safety timeout: forcing disconnect")
self:endSession()
end