This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Commit d5d3975
authored
chore: prevent start and stop to run in parallel (#4335)
Synchronize the start() and stop() methods of the session maintainer to prevent
them from running at the same time. That could cause a data race on the scheduled
future that the start() method sets, and the stop() method reads.1 parent aa53a43 commit d5d3975
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- google-cloud-spanner/src/main/java/com/google/cloud/spanner
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
0 commit comments