Commit 2e65a35
committed
scheduler: Fix regression in background thread (Issue #934)
The con->bg_pending value is used to indicate that the background thread
has finished running and that the connection can be safely closed.
This commit makes the con->bg_pending = 0 only after the connection
can be safely closed.1 parent 6aeb03b commit 2e65a35
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5517 | 5517 | | |
5518 | 5518 | | |
5519 | 5519 | | |
5520 | | - | |
5521 | | - | |
5522 | 5520 | | |
5523 | 5521 | | |
| 5522 | + | |
| 5523 | + | |
5524 | 5524 | | |
5525 | 5525 | | |
5526 | 5526 | | |
| |||
0 commit comments