Skip to content

Commit eaa30f1

Browse files
authored
Fix errors after session already ended (rojo-rbx#587)
1 parent 4c92b67 commit eaa30f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/src/ServeSession.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ function ServeSession:start()
137137
end)
138138
end)
139139
:catch(function(err)
140-
self:__stopInternal(err)
140+
if self.__status ~= Status.Disconnected then
141+
self:__stopInternal(err)
142+
end
141143
end)
142144
end
143145

0 commit comments

Comments
 (0)