Skip to content

Commit

Permalink
Fix errors after session already ended (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Jul 23, 2022
1 parent 411d1a8 commit 62eb4f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/src/ServeSession.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 62eb4f0

Please sign in to comment.