Commit 41a68b2
Fix a racing condition during cursor closing.
This can happen if close and next are called on two different threads. It can result in IllegalStateException triggered by decrementing the reference count below 0.1 parent 9159d33 commit 41a68b2
File tree
1 file changed
+3
-2
lines changed- driver-core/src/main/com/mongodb/operation
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| |||
0 commit comments