Fix errors after session already ended (#587)

This commit is contained in:
boatbomber
2022-07-23 09:24:16 -07:00
committed by GitHub
parent 411d1a89c1
commit 62eb4f026f

View File

@@ -137,7 +137,9 @@ function ServeSession:start()
end)
end)
:catch(function(err)
self:__stopInternal(err)
if self.__status ~= Status.Disconnected then
self:__stopInternal(err)
end
end)
end