Skip to content

Commit a5db2e8

Browse files
committed
fix(server_job): don't set job_count=0
I was seeing negative job counts. I think rejecting the promises is enough
1 parent 4ccbf6a commit a5db2e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/opencode/server_job.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ function M.cancel_all_requests()
147147
end
148148

149149
M.requests = {}
150-
state.job_count = 0
151150
end
152151

153152
function M.ensure_server()

0 commit comments

Comments
 (0)