Commit 3e038d2
Set current device to array device before releasing array
* Arrays were being freed prematurely because the device associated
with the array was not active. This change makes sure that we call
setDevice before the memory is freed so we find the correct pointer
in the memory manager.1 parent ae994f7 commit 3e038d2
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
| |||
0 commit comments