Commit e8903f1
committed
Gate CudaSlice::leak() event waits behind is_managing_stream_synchronization
Same asymmetry as the Drop impl: leak() unconditionally waited on the
read/write events before releasing ownership of the device pointer,
which could hit the same invalid-event issue when tracking is disabled.1 parent bb75e79 commit e8903f1
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2470 | 2470 | | |
2471 | 2471 | | |
2472 | 2472 | | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
2476 | | - | |
2477 | | - | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
2478 | 2480 | | |
2479 | 2481 | | |
2480 | 2482 | | |
| |||
0 commit comments