fix: Scene deleted after pica image resize failure (#9879)
Revert change in private updateImageCache
This commit is contained in:
parent
2535d73054
commit
c6f8ef9ad2
@ -10144,7 +10144,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||
if (erroredFiles.size) {
|
||||
this.store.scheduleAction(CaptureUpdateAction.NEVER);
|
||||
this.scene.replaceAllElements(
|
||||
elements.map((element) => {
|
||||
this.scene.getElementsIncludingDeleted().map((element) => {
|
||||
if (
|
||||
isInitializedImageElement(element) &&
|
||||
erroredFiles.has(element.fileId)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user