Commit 5d215ff
authored
[QNN EP] Clean up correctly from a partial setup (microsoft#23320)
### Description
Fix bug in previous change where a failure during `SetupBackend` causes `ReleaseResources `to be called to clean up but does nothing because `backend_setup_completed_ ` is false. `backend_setup_completed_ ` _seems_ to now be redundant so removing it fixes the problem.
### Motivation and Context
We are seeing crashes due to the log callback failing to be de-registered1 parent ab59e9e commit 5d215ff
File tree
1 file changed
+6
-10
lines changed- onnxruntime/core/providers/qnn/builder
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | 1100 | | |
1105 | 1101 | | |
1106 | | - | |
| 1102 | + | |
1107 | 1103 | | |
1108 | 1104 | | |
1109 | 1105 | | |
1110 | 1106 | | |
1111 | | - | |
| 1107 | + | |
1112 | 1108 | | |
1113 | 1109 | | |
1114 | 1110 | | |
1115 | 1111 | | |
1116 | | - | |
| 1112 | + | |
1117 | 1113 | | |
1118 | 1114 | | |
1119 | 1115 | | |
1120 | 1116 | | |
1121 | | - | |
| 1117 | + | |
1122 | 1118 | | |
1123 | 1119 | | |
1124 | 1120 | | |
1125 | 1121 | | |
1126 | | - | |
| 1122 | + | |
1127 | 1123 | | |
1128 | 1124 | | |
1129 | 1125 | | |
1130 | 1126 | | |
1131 | 1127 | | |
1132 | | - | |
| 1128 | + | |
1133 | 1129 | | |
1134 | 1130 | | |
1135 | 1131 | | |
| |||
0 commit comments