Commit db64e5c
authored
[NPUW] Fix bank weak_ptr (#27486)
After `CompiledModel` object is deleted, `shared_ptr<Bank>` is reset -
thus expiring `weak_ptr` in bank manager class. If we try to create a
`CompiledModel` object again with the same bank name - it was trying to
utilize already empty bank ptr. This PR fixes such case1 parent fdf29e1 commit db64e5c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments