Commit 15e9097
committed
fix: set wait function before spinning off goroutine
In special circumstances, the goroutine might finish before the wait
function was set, causing a panic.
Signed-off-by: Donnie Adams <[email protected]>1 parent 4d78314 commit 15e9097
1 file changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
247 | 258 | | |
248 | 259 | | |
249 | 260 | | |
| |||
385 | 396 | | |
386 | 397 | | |
387 | 398 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| |||
0 commit comments