Skip to content

Commit

Permalink
fix(vtk.js): Workers are now working
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 19, 2021
1 parent 51fdc15 commit 585c52d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12,959 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"source": "src/index.js",
"dependencies": {
"@babel/runtime": "^7.12.5",
"vtk.js": "17.0.0-beta.5"
"vtk.js": "17.0.0-beta.8"
},
"scripts": {
"prebuild": "npm run fix",
Expand Down
1 change: 1 addition & 0 deletions src/core/VolumeRepresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default class VolumeRepresentation extends Component {
componentWillUnmount() {
if (this.view) {
this.view.renderer.removeVolume(this.volume);
this.view = null;
}

this.volume.delete();
Expand Down
Loading

0 comments on commit 585c52d

Please sign in to comment.