Commit d1a5928
authored
Capture RowStreamImpl endHandler in a synchronized block (#1581)
* Capture RowStreamImpl endHandler in a synchronized block
Follows-up on #1577
The endHandler was no longer captured safely after changes in the previous PR.
Signed-off-by: Thomas Segismont <[email protected]>
* RowStream handler should be invoked out the synchronized block
It's safer not to hold a lock on the stream instance while invoking user code.
Signed-off-by: Thomas Segismont <[email protected]>
---------
Signed-off-by: Thomas Segismont <[email protected]>1 parent 95b58c8 commit d1a5928
File tree
1 file changed
+4
-3
lines changed- vertx-sql-client/src/main/java/io/vertx/sqlclient/impl
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
182 | | - | |
183 | | - | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
0 commit comments