We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ff3d53 + 0c0722f commit b7d8861Copy full SHA for b7d8861
1 file changed
src/core/View.js
@@ -427,10 +427,12 @@ export default class View extends Component {
427
this.interactor.setInteractorStyle(null);
428
}
429
430
- this.style.delete();
+ if (this.style) {
431
+ this.style.delete();
432
+ this.style = null;
433
+ }
434
this.defaultStyle.delete();
435
this.defaultStyle = null;
- this.style = null;
436
this.renderer = null;
437
this.selector = null;
438
this.orientationWidget = null;
0 commit comments