Commit aa86e16
Create copies of Pathways arrays before starting the serialization in orbax handler.
This prevents the buffers from being deallocated if the user discards the array before the asynchronous save operation completes.
PiperOrigin-RevId: 7664705071 parent 873ec9a commit aa86e16
2 files changed
Lines changed: 6 additions & 172 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
93 | | - | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
0 commit comments