mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
fix component will unmount
This commit is contained in:
parent
07f8255a37
commit
9cc64f44a5
@ -169,7 +169,7 @@ class Interface extends React.Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
const { scene: { editorControls, mesh: { material } }, renderer } = this.state;
|
||||
const { scene: { editorControls, mesh: { material }, renderer } } = this.state;
|
||||
editorControls.dispose();
|
||||
material.dispose();
|
||||
renderer.dispose();
|
||||
|
Loading…
Reference in New Issue
Block a user